This Repo is a lab which is creating a mock business site all using vanilla Javasript, & CSS
-
An index page to welcome users, as well as display the supplied images in a stylized manner
-
A sales page that will create a table with random sales data for each of the 5 stores (with a min, max & avg per/hour used to create the data)
- Also creates a form allowing the user(s) to be able to input their own store's location statistical data to create a new row appended
- Has a Total column on the far right for each stores daily total that gets updated with new data entries as well
- A total hourly row at the bottom of the table for all businesses that gets updated with new data entries as well
- A proper object model for a store, with a constructor that will push each new instance into an array of all locations for later calculations
- Prototype functions that;
- Creates the random numbers for each hour
- Renders that information
- Regular functions created such as;
- A random number generator using a range and flooring it
- A helper function to create elements, add their content, and append them more efficiently
- Functions created to render the Table Header, Body, & Footer of the default data set
- A listener funciton that handles submissions of new entries
-
An About Us Page that just needs some text placed to create some content
-
A MIT License
-
A linter
-
A gitignore file supplied by instructors.
-
A reset style sheet (also supplied by instructors) to create consistent styles across browsers.
-
A single stylesheet for the size of this project
-
An img directory holding all of the supplied images required as per instructions