-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (44 loc) · 1.56 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
<!DOCTYPE html>
<html>
<head>
<title>Convert JSON Data to HTML Table</title>
<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 rel="stylesheet" href="styles.css" />
<script defer src="script.js"></script>
</head>
<body>
<div class="instruction-container">
<ol>
<h4>Instructions to use the tool</h4>
<li>
<p>
Upload the file in the JSON format.<b>(Array Format)</b>
<b>Example:</b>
[{"firstName":"Dwayne","lastName":"Johnson"},{"firstName":"Gary","lastName":"Vee"}]
</p>
</li>
<li>
<p>
First convert your array into Table format by pressing
the convert button.Then export it.
</p>
</li>
</ol>
</div>
<!-- uploading the file -->
<div class="upload-container">
<form id="upload">
<input type="file" id="file" accept=".json" />
<button class="buttonClass">Convert JSON to Table</button>
<button class="buttonClass" id="exportButton">
Export to Excel
</button>
</form>
</div>
<div class="data-container">
<p id="showData"></p>
</div>
</body>
</html>