-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (58 loc) · 2.9 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
<!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">
<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="icon" href="favicon.png" type="image/x-icon" />
<title>Shopping List</title>
</head>
<body>
<div class="container-sm col-md-6" style="border-radius: 10px; border: 1px solid; padding: 15px; box-shadow: 5px 10px royalblue; margin-top: 100px;">
<h3 style="text-align:center;">Shopping List</h3>
<div class="card-body"></div>
<form id="list-form" >
<div class="mb-3">
<label class="form-label" >Need</label>
<input type="text" class="form-control" id="need" aria-describedby="emailHelp">
<div id="emailHelp" class="form-text">Enter your needs list.</div>
</div>
<div class="mb-3">
<label class="form-label" >Count</label>
<input type="number" class="form-control" id="count" aria-describedby="emailHelp">
<div id="emailHelp" class="form-text">Enter to required amount.</div>
</div>
<button type="submit" class="btn btn-primary">Add</button>
</form>
<table class="table">
<thead>
<tr>
<th scope="col">Product</th>
<th scope="col">Count</th>
<th scope="col">Status</th>
</tr>
</thead>
<tbody id="list">
<!-- <tr>
<td>Mark</td>
<td>Otto</td>
<td>
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" >Check me out</label>
</td>
</tr> -->
</tbody>
</table>
<button type="submit" class="btn btn-danger" id="clear">Delete All List</button>
</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="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
<script src="ui.js"></script>
<script src="storage.js"></script>
<script src="list.js"></script>
<!-- diğer scriptleri kullanabilmesi için en son yazıyoruz-->
<script src="project.js"></script>
</body>
</html>