-
Notifications
You must be signed in to change notification settings - Fork 4
/
pp.html
54 lines (54 loc) · 1.63 KB
/
pp.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
<!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>taskAdder</title>
<link rel="stylesheet" href="pp.css">
</head>
<!-- I called onload on the body instead of in DOMContentLoaded in js. The same effect as the former -->
<body id="body" onload="persistor()">
<header>
<nav>
<a href="#">Home</a>
<a href="#">About</a>
<a href="#">Services</a>
</nav>
<div id="namer">
<p id="firstName"><span>Welcome</span></p>
<button onclick='logOut()'>logout</button>
</div>
</header>
<div id="main">
<div id="formCont">
<form id="form1">
<h3>PRODUCT FACTORY</h3>
<label for="">Product Name</label><br>
<input type="text" id="product" placeholder="Product name"><br><br>
<label for="">Price</label><br>
<input type="number" id="price" placeholder="product price"><br><br>
<label for="">Delivery Method</label><br>
<input type="text" id="delivery" placeholder="delivery method"><br><br>
<button>SAVE</button>
</form>
</div>
<div id="container">
</div>
<div id="hidden">
<form action="">
<div>
<h5>Customer/Client Chat Interface</h5>
<img src="images/cancel.svg" alt="" onclick="hideChat()">
</div>
<hr>
</form>
</div>
</div>
<footer>
<button onclick="clearTasks()">CLEAR TASKS</button>
<button onclick="chat()">CHAT</button>
</footer>
<script src="pp.js"></script>
</body>
</html>