-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (87 loc) · 3.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel = "stylesheet" href = "styles.css" />
<title>forkify // Search over 1,000,000 recipes</title>
</head>
<body>
<div class = "modal hidden">
<button class = "close-modal">×</button>
<h1>Recipe of The Day ✨</h1>
<div class = "recipe-con">
</div>
</div>
<div class = "container">
<header class = "header">
<div class = "header-main">
<img src = "assets/logo.png" alt = "logo" class = "header-logo" />
<form class = "search">
<input type = "text" class = "search-field" placeholder = "Seach over a recipe e.g pizza" />
<button class = "btn search-btn">
<svg class = "search-icon">
<use href = "assets/icons.svg#icon-search"></use>
</svg>
<span>Search</span>
</button>
</form>
<p class = "heart">🤍</p>
</div>
<div class = "header-bottom">
<p>Feeling spontaneous? Generate a random recipe🍝</p>
<button class = "btn-random">Generate Recipe</button>
</div>
</header>
<div class = "cart">
<p class = "cart-empty">Add a recipe to your favourites list</p>
</div>
<div class = "search-results">
<p class = "error hidden">No recipes matched your search query. Please try again</p>
<div class = "loader-con"></div>
<ul class = "results">
</ul>
<div class = "pagination">
<!--
<button class="btn-inline results__btn--prev">
<svg class="search__icon">
<use href="img/icons.svg#icon-triangle-left"></use>
</svg>
<span>Page 1</span>
</button>
<button class="btn-inline results__btn--next">
<span>Page 3</span>
<svg class="search__icon">
<use href="img/icons.svg#icon-triangle-right"></use>
</svg>
</button>
-->
</div>
</div>
<div class = "recipe">
<div class = "message">
<div>
<svg>
<use href="assets/icons.svg#icon-smile"></use>
</svg>
</div>
<p>Start by searching for a recipe or an ingredient. Have fun!</p>
</div>
</div>
<div class="shopping">
<h2 class="heading-2">My Shopping List</h2>
<ul class="shopping-list">
</ul>
<div class="copyright">
© by Jonas Schmedtmann. Powered by
<a href="http://food2fork.com" target="_blank" class="link">Food2Fork.com</a>.
</div>
</div>
</div>
<div class = "overlay hidden"></div>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src = "Functions/api.js"></script>
<script src = "index.js"></script>
</body>
</html>