Skip to content

HarishDomma/recipejs-functional-cooking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿณ RecipeJS - Functional Cooking Companion

A modern JavaScript recipe application built using functional programming concepts.
This project demonstrates dynamic DOM rendering, clean code practices, and responsive UI design.


๐Ÿš€ Live Features (Part 1)

  • โœ… Semantic HTML structure
  • โœ… Modern CSS styling with flexbox
  • โœ… Responsive recipe card layout
  • โœ… Dynamic rendering using JavaScript
  • โœ… Arrow functions & template literals
  • โœ… Array map() method for transformation
  • โœ… Clean UI with difficulty badges

๐Ÿ› ๏ธ Tech Stack

  • HTML5
  • CSS3 (Flexbox, Gradients, Hover Effects)
  • JavaScript (ES6+)
  • Git & GitHub

๐Ÿ“‚ Project Structure

recipejs-functional-cooking/ โ”‚ โ”œโ”€โ”€ index.html โ”œโ”€โ”€ style.css โ””โ”€โ”€ app.js


๐Ÿง  Concepts Practiced

  • DOM Selection (querySelector)
  • DOM Manipulation (innerHTML)
  • Arrow Functions
  • Template Literals
  • Higher Order Functions (map)
  • Separation of Concerns (Data vs UI)
  • Git Workflow (add, commit, push)

๐ŸŽฏ How It Works

  1. Recipe data is stored as an array of objects.
  2. createRecipeCard() converts each object into HTML.
  3. renderRecipes() uses map() to generate all cards.
  4. The cards are injected dynamically into the DOM.
  5. CSS styles apply automatically based on class names.

๐Ÿ”ฎ Upcoming Features (Part 2-4)

  • Filter by difficulty
  • Sort by time or alphabetically
  • Expandable recipe steps
  • Search functionality
  • Favorites system
  • Functional programming enhancements

๐Ÿง‘โ€๐Ÿ’ป Author

Harish Domma
B.Tech - Artificial Intelligence & Data Science


About

A functional programming approach to a recipe companion app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors