Mock web application made with plain HTML/CSS/JS for a course assignment.
- Pages are loaded from filesystem, so
localStorageis separated per file instead of per domain (different if this was hosted on a proper website) - This means that there cannot be a 'global' cart storage storing book data that
cart.htmlcan access book data from - JSON files can be saved by the user and loaded from their filesystem, so it is used as a workaround
- Maybe
localStoragewould have worked if the pages were hosted on Github Pages, but that did not fit the assignment submission format criteria
./website/pages/index.html
- Individual book HTML pages are located under
./website/pages/booksfolder - Find where book data was sourced from in Reference List
- An imaginary company's about page
./website/pages/about.html
- Loads cart data from JSON file that user inputs
./website/pages/cart.html
- Does not actually work; it is a mock-up
./website/pages/pay.html
- Under
./website/mediafolder
- File located in
./references