forked from abhipshapatro/JavaScript30
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (37 loc) · 1.52 KB
/
Copy pathindex.html
File metadata and controls
41 lines (37 loc) · 1.52 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
<html>
<head>
<title>Item Lister</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="./styles.css" rel="stylesheet">
</head>
<body>
<nav class="navbar">
<div class="container-fluid">
<h1>Item List</h1>
<form class="d-flex">
<input id="search-box"class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
</form>
</div>
</nav>
<main>
<div id="adder">
<form>
<input type="text" id="new-item" class="form-control">
<button type="submit" class="btn btn-success">Add</button>
</form>
</div>
<div id="content">
<h2>List of Items</h2>
<ul>
<li class="items"><span>Item 1</span><button type="button" class="btn btn-outline-danger">X</button></li>
<li class="items"><span>Item 2</span><button type="button" class="btn btn-outline-danger">X</button></li>
<li class="items"><span>Item 3</span><button type="button" class="btn btn-outline-danger">X</button></li>
</ul>
</div>
</main>
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
</body>
</html>