-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
141 lines (141 loc) · 6.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recipe App</title>
<!-- Link your CSS file here -->
<link rel="stylesheet" href="assets/css/index.css" />
</head>
<body>
<header>
<nav>
<a href="index.html">Home</a>
<a href="search.html">Search</a>
<a href="add-edit-recipe.html">Add Recipe</a>
<a href="login-signup.html">Login/Sign Up</a>
</nav>
<h1>Welcome to the Recipe App</h1>
<form>
<input type="search" id="recipe-search" name="q" placeholder="Search for recipes...">
<button type="submit">Search</button>
</form>
</header>
<main>
<section id="featured-recipes">
<h2>Featured Recipes</h2>
<div id="carousel">
<img id="carousel-image" src="assets/images/food01.jpg" alt="Best Food">
<h2 id="carousel-title">Best Food</h2>
<p id="carousel-description">Best Food</p>
<div class="stars">
<span class="star" data-value="1">★</span>
<span class="star" data-value="2">★</span>
<span class="star" data-value="3">★</span>
<span class="star" data-value="4">★</span>
<span class="star" data-value="5">★</span>
</div>
<button class="favorite">Add to Favorites</button>
</div>
</section>
<section id="popular-recipes">
<h2>Popular Recipes</h2>
<div class="recipe-container">
<div class="recipe-card">
<img src="assets/images/food01.jpg" alt="Recipe Image" />
<h2 class="recipe-title">Hamburgers</h2>
<p class="recipe-description">Hamburgers from Hamburg</p>
<a href="recipe.html" class="view-recipe-link">View Recipe</a>
<div class="stars">
<span class="star" data-value="1">★</span>
<span class="star" data-value="2">★</span>
<span class="star" data-value="3">★</span>
<span class="star" data-value="4">★</span>
<span class="star" data-value="5">★</span>
</div>
<button class="favorite">Add to Favorites</button>
</div>
<div class="recipe-card">
<img src="assets/images/food01.jpg" alt="Recipe Image" />
<h2 class="recipe-title">Hamburgers</h2>
<p class="recipe-description">Hamburgers from Hamburg</p>
<a href="recipe.html" class="view-recipe-link">View Recipe</a>
<div class="stars">
<span class="star" data-value="1">★</span>
<span class="star" data-value="2">★</span>
<span class="star" data-value="3">★</span>
<span class="star" data-value="4">★</span>
<span class="star" data-value="5">★</span>
</div>
<button class="favorite">Add to Favorites</button>
</div>
<div class="recipe-card">
<img src="assets/images/food01.jpg" alt="Recipe Image" />
<h2 class="recipe-title">Hamburgers</h2>
<p class="recipe-description">Hamburgers from Hamburg</p>
<a href="recipe.html" class="view-recipe-link">View Recipe</a>
<div class="stars">
<span class="star" data-value="1">★</span>
<span class="star" data-value="2">★</span>
<span class="star" data-value="3">★</span>
<span class="star" data-value="4">★</span>
<span class="star" data-value="5">★</span>
</div>
<button class="favorite">Add to Favorites</button>
</div>
<div class="recipe-card">
<img src="assets/images/food01.jpg" alt="Recipe Image" />
<h2 class="recipe-title">Hamburgers</h2>
<p class="recipe-description">Hamburgers from Hamburg</p>
<a href="recipe.html" class="view-recipe-link">View Recipe</a>
<div class="stars">
<span class="star" data-value="1">★</span>
<span class="star" data-value="2">★</span>
<span class="star" data-value="3">★</span>
<span class="star" data-value="4">★</span>
<span class="star" data-value="5">★</span>
</div>
<button class="favorite">Add to Favorites</button>
</div>
<div class="recipe-card">
<img src="assets/images/food01.jpg" alt="Recipe Image" />
<h2 class="recipe-title">Hamburgers</h2>
<p class="recipe-description">Hamburgers from Hamburg</p>
<a href="recipe.html" class="view-recipe-link">View Recipe</a>
<div class="stars">
<span class="star" data-value="1">★</span>
<span class="star" data-value="2">★</span>
<span class="star" data-value="3">★</span>
<span class="star" data-value="4">★</span>
<span class="star" data-value="5">★</span>
</div>
<button class="favorite">Add to Favorites</button>
</div>
<div class="recipe-card">
<img src="assets/images/food01.jpg" alt="Recipe Image" />
<h2 class="recipe-title">Hamburgers</h2>
<p class="recipe-description">Hamburgers from Hamburg</p>
<a href="recipe.html" class="view-recipe-link">View Recipe</a>
<div class="stars">
<span class="star" data-value="1">★</span>
<span class="star" data-value="2">★</span>
<span class="star" data-value="3">★</span>
<span class="star" data-value="4">★</span>
<span class="star" data-value="5">★</span>
</div>
<button class="favorite">Add to Favorites</button>
</div>
</div> </section>
</main>
<footer>
<p>© 2023 Recipe App</p>
<nav>
<a href="about.html">About Us</a>
<a href="contact.html">Contact Us</a>
<a href="terms.html">Terms of Service</a>
<a href="privacy.html">Privacy Policy</a>
</nav>
</footer>
<script src="assets/scripts/index.js"></script>
</body>
</html>