Git Product home page Git Product logo

js-good-burger's Introduction

Welcome to Good Burger, the home of the Good Burger.

Welcome to your first day of work at Good Burger, the home of the Good Burger. As an engineer, you are tasked to design a web application in which customers can see our menu, order burgers as well as make custom orders.

Right now, our burgers only exist in the database and we need your help to append it to the menu. Here's how we can run our database:

TO INSTALL: npm install -g json-server
TO START: json-server --watch db.json

Each burger that we fetch from the database should have the following classes when appending it to the DOM:

<div class="burger">
  <h3 class="burger_title">Good Burger</h3>
    <img src="https://www.lovelesscafe.com/uploads/recipeimages/BBQBaconBurger-web.jpg">
    <p class="burger_description">
      What a Good Burger!
    </p>
    <button class="button">Add to Order</button>
</div>

After the burgers are appended to the burger-menu, customers can press on the Add to Order button, which will then append the name of the burger into the 'Your Order' list on the left of the page. For now, do not worry about the repeats. If a customer orders two Good Burgers, you can (and should) have two Good Burgers on your order list.

After that, build out the functionality that will allow customers to add their own burger creations to the menu. After submitting the form, the burger should be appended to the menu with the correct information typed in the form. It should also be added to customer's order as well as persist in the database, so that when we refresh the page, the burger is added to the menu for future customers.

Demonstration

js-good-burger's People

Contributors

hyeokjungkim avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

js-good-burger's Issues

404

2 of the images from the database return 404.

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.