GithubHelp home page GithubHelp logo

martinezfabian / foodrecipeapp-javascript-html-css Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 203 KB

The main goal of this project is to apply knowledge of Promises and the Fetch API in JavaScript to create a responsive and interactive recipe search application.

Home Page: https://martinezfabian.github.io/FoodRecipeApp-JavaScript-HTML-CSS/

HTML 14.79% CSS 25.69% JavaScript 59.52%
fetch-api foodrecipe promises recipe-app recipe-website

foodrecipeapp-javascript-html-css's Introduction

Food Recipe App

Description

FoodRecipeApp is a recipe search application built using JavaScript, HTML, and CSS. It allows users to search for various food recipes based on different categories. The project follows a mobile-first approach and utilizes the BEM methodology for CSS styling.

The application consists of a homepage and a "My Recipes" page. On the homepage, users can select a food category from a dropdown menu. Based on the selected category, the app presents a list of dishes belonging to that category. Clicking on the "View Recipe" button opens a modal window displaying the recipe instructions, a list of ingredients with their quantities, and a link to a YouTube video demonstrating how to prepare the recipe. Users also have the option to add a recipe to their favorites by clicking the "Add to Favorites" button. Conversely, they can remove a recipe from their favorites using the "Remove from Favorites" option.

The main goal of this project is to apply knowledge of Promises and the Fetch API in JavaScript to create a responsive and interactive recipe search application.

Technologies Used

  • JavaScript
  • HTML
  • CSS (Mobile-first approach, BEM methodology)

Features

  • Recipe search based on food categories
  • Recipe details including instructions, ingredients with quantities, and a video link
  • Add recipes to favorites
  • Remove recipes from favorites

Usage

  1. Use the dropdown menu on the homepage to select a food category.
  2. Browse through the displayed recipes and click on "View Recipe" to see the details.
  3. In the recipe modal, you can view instructions, ingredients, and watch a video related to the recipe.
  4. To add a recipe to your favorites, click the "Add to Favorites" button.
  5. To remove a recipe from your favorites, use the "Remove from Favorites" option.

Online Demo

An online demo of the FoodRecipeApp can be accessed at Demo Link.

foodrecipeapp-javascript-html-css's People

Contributors

martinezfabian avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.