SweetTooth is a website that lets you discover a variety of different dessert recipes from all around the world. The website is ment to inspire people to be creative, step out of their comfort zone and try something new! By click the “Random Dessert” button and explore new treats, complete with ingredients, instructions, origin, and tags. Perfect for baking enthusiasts, dessert lovers, and anyone looking for a little sweetness in life.
- Generate random desserts
- Option to filter the random desserts to a specific country/region
- See dessert name, image, origin, tags, ingredients, and instructions
- Toggle recipe instructions with the Recipe button
- Fun, colorful and responsive design
Clone this repo:
git clone https://github.com/Otloir/Public-API-Consumer
Open index.html in your browser
Make sure you’re online to fetch dessert data from TheMealDB API
-
Click Random Dessert to discover a dessert
-
Click Recipe to show ingredients and instructions
-
HTML5 – Structure
-
CSS3 – Styling & responsive design
-
JavaScript – Fetch API
-
TheMealDB API – Dessert recipes
-
Add random dessert dad jokes and/or motivational quotes
-
Add a dark/light mode option
TheMealDB API - dessert recipes