forked from gocodeup/coffee-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (64 loc) · 2.99 KB
/
index.html
File metadata and controls
64 lines (64 loc) · 2.99 KB
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
<!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, shrink-to-fit=no">
<title></title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="mx-auto" style="width: 20%;">
<h1>Coffee!</h1>
</div>
<hr/>
<div class="row">
<div class="col-sm-1 col-md-1"></div>
<div class="col-sm-4 col-md-4">
<div id="coffees"></div>
</div>
<div class="col-sm-1 col-md-1"></div>
<div class="col-sm-5 col-md-5">
<form>
<label for="roast-selection" class="form-label">Select Roast Type:</label>
<select id="roast-selection" class="roast_selection form-control" name="roast_selection">
<option selected>all roasts</option>
<option>light</option>
<option>medium</option>
<option>dark</option>
</select>
<br/>
<label for="search_input" class="form-label">Search Coffee's:</label>
<input type="text" name="search_input" id="search_input" placeholder="Search our Coffee's" class="search_input form-control"/>
<br/>
<input id="submit" type="submit" class="form-control"/>
<br/>
</form>
<hr/>
<form class="add_coffee_form" id="add_coffee_form">
<br/>
<h4 id="add_a_new_coffee_heading">Add a New Coffee</h4>
<br/>
<label for="new_roast_selection" class="form-label">Select Roast Type:</label>
<br/>
<select id="new_roast_selection" class="new_roast_selection form-control" name="new_roast_selection">
<option>light</option>
<option>medium</option>
<option>dark</option>
</select>
<br/>
<label for="new_coffee_name_input" class="form-label">Coffee Name:</label>
<br/>
<input type="text" name="new_coffee_name" placeholder="New Coffee Name" class="new_coffee_name_input form-control" id="new_coffee_name_input"/>
<br/>
<input type="submit" id="submit_new" name="submit_new" class = "form-control" value="Add Coffee"/>
<br/>
</form>
</div>
</div>
<div class="col-sm-1 col-md-1"></div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="main.js"></script>
</body>
</html>