Food Name
34 |The meals cooking procedure will be displayed here once you search for the meal of your choice.
35 | 36 |├── .vscode └── settings.json ├── README.md ├── index.html ├── script.js └── style.css /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "liveServer.settings.port": 5501 3 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🍽️ Meal Explorer – API Learning Project 2 | 3 | This project is a simple web app built to help me learn and practice how to work with **APIs**. It uses **[TheMealDB](https://www.themealdb.com/api.php)** – a free, open-source meal database API – to fetch and display meals based on different filters such as category, ingredient, or area. 4 | 5 | --- 6 | 7 | ## 🎯 Purpose 8 | 9 | The main goal of this project was to **train myself in API integration**, JSON parsing, and dynamic frontend rendering using JavaScript. It was a hands-on way to understand how to: 10 | 11 | - Make HTTP requests 12 | - Work with JSON data 13 | - Use an external API effectively in a web project 14 | - Display data dynamically in the UI 15 | 16 | --- 17 | 18 | ## 🧰 Technologies Used 19 | 20 | - **HTML**, **CSS**, **JavaScript** 21 | - **Fetch API** for HTTP requests 22 | - **TheMealDB API** for meal data 23 | 24 | --- 25 | 26 | ## 🔍 Features 27 | 28 | - Search for meals by name 29 | - Filter meals by category or area 30 | - View full recipe details including ingredients and instructions 31 | - Fetch a random meal suggestion 32 | 33 | --- 34 | 35 | ## 📦 Getting Started 36 | 37 | 1. Clone the repo: 38 | ```bash 39 | git clone https://github.com/melau-eddy/recipe-generator-api 40 | cd mealdb-api-training 41 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |The meals cooking procedure will be displayed here once you search for the meal of your choice.
35 | 36 |