-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (91 loc) · 3.41 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!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>Product Infobase</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1 class="header">Product Infobase</h1>
<div id="formDiv">
<div class="container">
<form id="productForm">
<div class="row">
<h3>Store Product</h3>
<div class="col-25">
<label for="fname">Product Name</label>
</div>
<div class="col-75">
<input type="text" id="productName" name="firstname" placeholder="Product name.." required>
</div>
</div>
<div class="row">
<div class="col-25">
<label for="subject">Product Details</label>
</div>
<div class="col-75">
<textarea id="productDetail" placeholder="Write something.." style="height:200px"
required></textarea>
</div>
</div>
<div class="row">
<div class="col-25">
<label for="lname">Product Price</label>
</div>
<div class="col-75">
<input type="text" id="productPrice" placeholder="Product price" required>
</div>
</div>
<div class="row">
<div class="col-25">
<label for="lname">Product Id</label>
</div>
<div class="col-75">
<input type="text" id="productId" placeholder="Product id" required>
</div>
</div>
<br>
<div class="row">
<button type="submit">Store Records</button>
</div>
</form>
</div>
<br><br><br>
<div class="container">
<div class="row">
<h3>Show Product</h3>
<div class="col-25">
<label for="lname">Product Id</label>
</div>
<div class="col-75">
<input type="text" id="retrieveKey" placeholder="Product id">
</div>
<br>
<br>
</div><br>
<div class="row">
<button id="retrieveButton">Retrieve records</button>
<div id="retrieve" class="result"></div>
</div>
</div>
<br><br><br>
<div class="container">
<div class="row">
<h3>Delete Product</h3>
<div class="col-25">
<label for="lname">Product Id</label>
</div>
<div class="col-75">
<input type="text" id="removeId" placeholder="Product id">
</div>
</div><br>
<div class="row">
<button id="removeButton">Remove record</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>