Recipe Finder is a web application that allows users to discover and explore recipes using a public API. Users can search for meals, filter them by category, sort results, and view detailed cooking instructions.
This project demonstrates the use of JavaScript, API integration, array higher-order functions, and responsive UI design to build an interactive web application.
- Integrate a public API to fetch real-time recipe data
- Implement search, filtering, and sorting functionality
- Use JavaScript Higher-Order Functions such as
map(),filter(), andsort() - Build a responsive and user-friendly interface
- Provide users with an easy way to discover recipes
This project uses the TheMealDB API.
- Search meals by name
- Browse meals by category
- Retrieve meal details and instructions
- Fetch meal images and ingredients
Search for recipes by entering a meal name.
Filter recipes based on categories:
- Vegetarian
- Dessert
- Seafood
- Chicken
- and more
Sort recipes alphabetically for easier browsing.
Save favorite recipes using Local Storage.
Each recipe displays:
- Ingredients
- Cooking instructions
- Recipe image
Optimized for:
- Desktop
- Tablet
- Mobile
- 🌙 Dark Mode / Light Mode
- ⏳ Loading Indicators
- 📦 Pagination
- 💾 Persistent favorites
- ⚡ Debounced search
- HTML5
- CSS3
- JavaScript (ES6)
- Fetch API
- TheMealDB API
- Git
- GitHub
recipe-finder/ │ ├── index.html ├── styles/ │ └── style.css │ ├── scripts/ │ └── app.js │ └── README.md