-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
68 lines (68 loc) · 3.01 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width initial-scale=1.0">
<title>OnHand Recipe Search</title>
<link href="index.css" rel="stylesheet" type="text/css" />
<link href="loading.css" rel="stylesheet" type="text/css" />
<link href="grid.css" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet">
</head>
<body>
<main role="main">
<div>
<div class="main-div">
<img class="logo" src="https://user-images.githubusercontent.com/29738609/36992063-f415b408-2066-11e8-8502-f45296467585.png" alt="OnHand Logo">
<p class="main-text">Search for recipes that feature the ingredients you have on hand.</p>
<p class="sub-text">Enter your ingredients below (separated with commas, please)<br>and we'll show you what you can make. Easy as that!</p>
<form role="search" class="search-form" aria-live="polite">
<span>
<input type="text" aria-label="search-text" aria-required="true" class="input" id="search-term" placeholder="chicken, peppers, onions" required>
<button type="submit" class="search-button">Search</button>
</span>
</form>
</div>
<div class="messages">
<p class="oops hidden" aria-live="assertive">Oops, no recipes were found! Please try your search again.</p>
<p class="error hidden" aria-live="assertive">Error. Please try your search again.</p>
</div>
<div class="sk-circle hidden">
<div class="sk-circle1 sk-child"></div>
<div class="sk-circle2 sk-child"></div>
<div class="sk-circle3 sk-child"></div>
<div class="sk-circle4 sk-child"></div>
<div class="sk-circle5 sk-child"></div>
<div class="sk-circle6 sk-child"></div>
<div class="sk-circle7 sk-child"></div>
<div class="sk-circle8 sk-child"></div>
<div class="sk-circle9 sk-child"></div>
<div class="sk-circle10 sk-child"></div>
<div class="sk-circle11 sk-child"></div>
<div class="sk-circle12 sk-child"></div>
</div>
<div class="grid">
<div class="search-results"></div>
<div class="list-div">
<div class="click-ing hidden">
<p>See an ingredient you don't have on-hand? No problem... with a click you can add it to your shopping list!</p>
</div>
<div class="shopping-list hidden" aria-live="polite">
<p class="list-title">Shopping List</p>
<p class="list-instructions">To remove an item from this list, just click the "x".</p>
<div class="list-body ing-item" id="html-list"></div>
<div class="button-div">
<button type="submit" class="button-text clear-all">Clear All</button>
<button type="submit" class="button-text email-list">Email List</button>
<button type="submit" class="button-text copy-list">Copy List</button>
</div>
</div>
</div>
</div>
</div>
</main>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="index.js"></script>
</body>
</html>