-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (104 loc) · 3.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link rel="stylesheet" href="./style.css" />
<link
href="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/14.0.2/nouislider.css"
rel="stylesheet"
/>
<script src="https://kit.fontawesome.com/ad020ced0c.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/noUiSlider/14.0.3/nouislider.js"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
<title>BrewDog</title>
</head>
<body>
<header>
<h1>To Beer Or Not To Beer</h1>
<p>The Beer-Picker You Never Knew You Needed</p>
<i class="fas fa-beer"></i>
</header>
<div class="container">
<div class="row">
<div id="beer-input" class="col s5">
<form id="beer-input">
<h2>What's your type?</h2>
<h4>1. Alcohol Content</h4>
<span id="percent-range">5.0% min and 25.0% max.</span>
<div id="slider"></div>
<h4>2. Color <div id='color-display'></div></h4>
<div class="input-field col s12">
<select id='selection'>
<option value="" disabled selected>Choose your beer shade</option>
<option id="color1" value="1" data-min="0" data-max="4">Pale Straw</option>
<option id="color2" value="2" data-min="5" data-max="12">Gold</option>
<option id="color3" value="3" data-min="13" data-max="26">Amber</option>
<option id="color4" value="4" data-min="27" data-max="57">Deep Brown</option>
<option id="color5" value="5" data-min="58" data-max="80">Black</option>
</select>
</div>
<div class="bitter">
<p>
<h4>3. Bitterness</h4>
<label>
<input
id="light"
type="checkbox"
class="filled-in"
/>
<span style="color: black">Subtle Hop flavor</span><br>
</label>
</p>
<p>
<label>
<input
id="medium"
type="checkbox"
class="filled-in"
/>
<span style="color: black">Medium Hop flavor</span><br>
</label>
</p>
<p>
<label>
<input
id="strong"
type="checkbox"
class="filled-in"
/>
<span style="color: black">Strong hop flavor</span>
</label>
</p>
</form> <br><br>
</div>
</form>
<a class="waves-effect waves-light btn">Search Beers</a>
<div id="error-message">
<h4 id="error-text"></h4>
</div>
</div>
<div class="col s7" id="beer-display">
<h2>Our Suggestion:</h2>
<div id="beer-pic"></div>
</div>
</div>
<div class="row">
<h2>Food pairing: </h2>
<div class="col s6" id="food-display"></div>
<div class="col s6" id="dessert-display"></div>
</div>
</div>
</div>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"
></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="./script.js"></script>
</body>
</html>