forked from Technigo/js-project-recipe-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (60 loc) · 1.95 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Recipe library</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<h1>Recipe library</h1>
</header>
<section class="filter-group">
<div class="filter-container">
<h3 class="small-head">Filter by cuisine</h3>
<div class="filter-options">
<input type="checkbox" id="all" class="filter-checkbox" checked />
<label for="all">All</label>
<input type="checkbox" id="asian" class="filter-checkbox" />
<label for="asian">Asian</label>
<input type="checkbox" id="european" class="filter-checkbox" />
<label for="european">European</label>
<input type="checkbox" id="american" class="filter-checkbox" />
<label for="american">American</label>
<input type="checkbox" id="mexican" class="filter-checkbox" />
<label for="mexican">Mexican</label>
<input type="checkbox" id="italian" class="filter-checkbox" />
<label for="italian">Italian</label>
<input type="checkbox" id="french" class="filter-checkbox" />
<label for="french">French</label>
</div>
</div>
<div class="sort-container">
<h3 class="small-head">Sort by cooking time</h3>
<div class="sort-options">
<input type="radio" id="ascending" name="sort" class="sort-radio" />
<label for="ascending">Ascending</label>
<input type="radio" id="descending" name="sort" class="sort-radio" />
<label for="descending">Descending</label>
</div>
</div>
<div class="lazy-container">
<h3 class="small-head">Difficult to decide?</h3>
<div class="lazy-option">
<input type="button" id="lazy" name="lazy" />
<label for="lazy">Let me choose for you</label>
</div>
</div>
</section>
<div id="loading-spinner" class="spinner-container">
<div class="spinner"></div>
<p>Loading recipes... please wait...</p>
</div>
<main id="recipe-container" class="recipe-container">
Loading...
</main>
<script src="recipes.js"></script>
<script src="script.js"></script>
</body>
</html>