Mama Jenny is the best cook you would ever met. She makes the most amazing burgers in her tiny diner across the street. Mama is extremely popular and has recently had the idea to take her business online. 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. Go to the src/app.js
file and complete all the unfinished code to let her live here dream.
Fork this repo
Clone this repo
Practice DOM Features
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.
As your first task, you've got to enable the different layers of the burger on the screen. Create a render()
for each ingredient and make sure that it displays the selected layer.
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.
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.
Show the customer only the ingredients that they've selected on the chalk board.
The customer has had a good time customizing his brrrgrrr. Time for him to pay. Use ingredient prices to calculate the cost of a brrrgrrr and display it to the customer.
Happy Coding ProGrad ❤️