Giter Site home page Giter Site logo

mini-project-builder-cake-world's Introduction

Image description

ProGrad Lab | CAKEWORLD

Mama Jenny wants to explore the art of Pastry making. She is extremely popular because of her burger business and has recently had the idea to expand into cake business too. Unfortunately, she isn't the best at web development. Mama has heard of ProGrads and she thought you could do a great job.

Help Mama create a website that'll attract more audience and help her make a living through it. Your task is to build a complete website which helps in customizing cakes for birthdays.

What should you do

Fork this repo
Clone this repo
Practice DOM Features

How To Submit

Upon completion, run the following commands:

git add .
git commit -m "ProGrad ID"
git push origin master

And finally, create a pull request so your ProGrad Mentor (PM) can review your work.

Progression 1: LAYERS

As your first task, you've got to enable the different layers of the cake on the screen. Create a render() for each ingredient and make sure that it displays the selected layer.

Size of the layer for each crust

#layer1{
    width: 245px;
    visibility: hidden;
}

#layer2{
    width: 200px;
    left: 40px;
    visibility: hidden;
}

#layer3{
    width: 160px;
    left: 60px;
    visibility: hidden;
}

#layer4{
    width: 120px;
    left: 80px;
    visibility: hidden;
}

#layer5{
    width: 80px;
    left: 100px;
    visibility: hidden;
}

Image description

Progression 2: LAYER THEM UP

Setup EventListeners, so that we can add or remove different ingredients by clicking on the respective ingredient buttons. That's the whole point of it.

Image description

Challenge 1: SHOW EM UP

Make the ingredient buttons pop up based on their current active state. This would help customers identify what ingredients they've selected and what's left out.

Challenge 2: TAKE THE ORDER

Show the customer only the ingredients that they've selected on the chalk board. Image description

Challenge 3: BILL TIME

The customer has had a good time customizing his cake. Time for him to pay. Use ingredient prices to calculate the cost of a cake and display it to the customer.

Image description Happy Coding ProGrads❤️

mini-project-builder-cake-world's People

Contributors

prograd-org avatar sanjaytj avatar bhuvanajothivel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.