-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (29 loc) · 983 Bytes
/
index.html
File metadata and controls
34 lines (29 loc) · 983 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>JSON ↔ TOON Converter</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="app">
<h1>JSON ↔ TOON Converter</h1>
<div id="dropZone" class="drop-zone">
Drag & drop JSON/TOON here — or click to paste
<input id="fileInput" type="file" accept=".json,.txt,.toon" />
</div>
<label>Input</label>
<textarea id="inputArea" placeholder="Paste JSON or TOON here"></textarea>
<div class="controls">
<button id="jsonToToonBtn">JSON → TOON</button>
<button id="toonToJsonBtn">TOON → JSON</button>
<button id="downloadBtn">Download Output</button>
<button id="clearBtn">Clear</button>
</div>
<label>Output</label>
<textarea id="outputArea" readonly placeholder="Converted output appears here"></textarea>
</div>
<script src="parser/toon.js"></script>
<script src="script.js"></script>
</body>
</html>