A modern JavaScript recipe application built using functional programming concepts.
This project demonstrates dynamic DOM rendering, clean code practices, and responsive UI design.
- โ 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
- HTML5
- CSS3 (Flexbox, Gradients, Hover Effects)
- JavaScript (ES6+)
- Git & GitHub
recipejs-functional-cooking/ โ โโโ index.html โโโ style.css โโโ app.js
- 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)
- Recipe data is stored as an array of objects.
createRecipeCard()converts each object into HTML.renderRecipes()usesmap()to generate all cards.- The cards are injected dynamically into the DOM.
- CSS styles apply automatically based on class names.
- Filter by difficulty
- Sort by time or alphabetically
- Expandable recipe steps
- Search functionality
- Favorites system
- Functional programming enhancements
Harish Domma
B.Tech - Artificial Intelligence & Data Science