Giter Site home page Giter Site logo

lab-js-41-brrrgrrr's Introduction

ProGrad

LAB | BRRRGRRR

Mama Jenny is the best cook you've 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. I've heard you are though. 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 satiate her sweet tooth.

Requirements

  • Fork this repo
  • Clone this repo
  • Practice DOM features

Submission

  • Upon completion, run the following commands:

    git add .
    git commit -m "done"
    git push origin master
    
  • Create Pull Request so your TAs can check up your work.

Trial 1: What do we have here?

For 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 player.

Trial 2: Give me an extra cheese!

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.

Challenge 1: Do I need more cheese?

Make the ingredient buttons popup or not based on their current active state. This would help customers identify what they've selected and what not.

Challenge 2: Note my order!

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

Judgement 1: Bill the BRRRGRR!!

The customer has had a good time customizing his brrgrr. Time for him to pay up. Use ingredient prices to calculate how much a burger costs and display it to the customer.

lab-js-41-brrrgrrr's People

Contributors

venkat-raghulan avatar hamzakaizar avatar mskeerthana avatar

Watchers

James Cloos 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.