forked from FaztWeb/javascript-products-app-oop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (45 loc) · 1.78 KB
/
index.html
File metadata and controls
52 lines (45 loc) · 1.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Product App</title>
<!-- Bootswatch Theme -->
<link rel="stylesheet" href="https://bootswatch.com/4/litera/bootstrap.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="App.css">
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-light bg-light">
<a class="navbar-brand" href="#">Products App</a>
</nav>
<div class="container">
<!-- APPLICATION -->
<div id="App" class="row pt-5">
<div class="col-md-4">
<div class="card">
<div class="card-header">
<h4>Add Add A Product</h4>
</div>
<form id="product-form" class="card-body">
<div class="form-group">
<input type="text" id="name" placeholder="Product Name" class="form-control">
</div>
<div class="form-group">
<input type="number" id="price" step="0.01" placeholder="Product Price" class="form-control">
</div>
<div class="form-group">
<input type="number" id="year" min="1900" max="2099" step="1" value="2018" class="form-control">
</div>
<input type="submit" value="Save" class="btn btn-primary btn-block">
</form>
</div>
</div>
<div id="product-list" class="col-md-8"></div>
</div>
</div>
<script src="App.js"></script>
</body>
</html>