-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (57 loc) · 2.06 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
<!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>Table to JSON</title>
<link rel="stylesheet" href="Style.css">
<link rel="stylesheet" href="prism.css">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<style>
.material-symbols-outlined {
font-variation-settings:
'FILL' 0,
'wght' 600,
'GRAD' 0,
'opsz' 48
}
</style>
</head>
<body>
<div class="header">Table To JSON Convertor</div>
<div class="form-div" align="center">
<h1>Add to table</h1>
<form action="/" method="post" id="form" class="form">
<input type="number" name="id" id="id" value="1" readonly class="input">
<input type="text" name="name" id="" class="input" placeholder="Name">
<input type="tel" id="phone" class="input" name="phone" placeholder="Phone Number">
<input type="email" name="email" id="" class="input" placeholder="E-mail">
<button id="submit" class="btn-submit">SUBMIT</button>
</form>
</div>
<div class="container">
<div class="table">
<table class="table-view">
<tr>
<th>ID</th>
<th>Name</th>
<th>Phone No.</th>
<th>E-mail</th>
<th>Delete</th>
</tr>
<tbody id="table-body">
</tbody>
</table>
</div>
<div class="json">
<div type="text" name="" class="json-view" readonly>
<pre class="language-javascript"><code id="json-data" class="language-javascript"></code></pre>
</div>
</div>
</div>
</body>
<script src="script.js"></script>
<script src="prism.js"></script>
</html>