Flavor Hub
A responsive restaurant website with menus, reviews and a theme switcher.

What it does
Built with HTML, CSS and JavaScript. The food and review content is sample data loaded from local JSON files.
Decisions
- Keep content in JSON
- Meals, menus, recipes and reviews are fetched from separate files, then rendered into the page.
- Drive themes with CSS variables
- The selected theme sets a root attribute and swaps CSS color values. The preference is stored locally.
- Update navigation on scroll
- The current section determines which navigation link is highlighted as the page moves.
Screens
Full notes
More on the implementation and challenges.
Next project

Rectangle Drawer
A browser tool for drawing, moving, and resizing rectangles.
Working on something similar? Get in touch.