Skip to content

amani51/Restaurant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restaurant

Task 11

HTML file

  • Create only one page."index.html"
  • Checkout a new branch called events.
  • Add header with navigating bar.
  • add form with mmutiplue inputs and select.
  • Add footer that contains social media links with copyright.

JS file

  • Create app.js
  • Create a constructor to generate a food object.
  • Create an instance each time user submits.
  • Fill the object from the form.
  • Create a method to generate a unique four digits for the food id number.
  • create a render prototype method to render each food name with their information from the form on the home page as a table.

Task 12

HTML file

  • create a new page "statistics.html"
  • Check out a new branch called localStorage.

Home page

  • save the form's data into the local storage as a JSON format

Statistics page

  • create a new JS file "statistics.js"
  • Move the table from the home page to it .
  • render the data from the local storage (that was built in the app.js) into the table.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published