-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (35 loc) · 1.88 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
<!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">
<title>Grocery List</title>
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="grocery.css">
</head>
<body>
<div class="container d-flex flex-column justify-content-center align-items-center">
<div class="center px-5 pb-5 border justify-self-start">
<form class="grocery-form">
<p class="alert mt-3 pt-0 pb-4"></p>
<h3 class="title d-flex justify-content-center">Grocery Bud</h3>
<div class="form-control border-0 d-flex" id="inputbox">
<input type="text" id="grocery" placeholder="e.g. eggs" class="col-10 border-0 ps-2"/>
<button type="submit" class="submit-btn py-1 px-3 border-0">Submit</button>
</div>
</form>
<div class="grocery-container px-4">
<div class="grocery-list mt-2">
</div>
<button type="button" class="clear-btn">Clear items</button>
</div>
</div>
</div>
<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
<script src="grocery.js"></script>
</body>
</html>