Skip to content

Commit 438a618

Browse files
authored
JSON Formatter
1 parent db4b2ce commit 438a618

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

jsonformatter/index.html

+66
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,69 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>JSON Formatter Layout</title>
7+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
8+
</head>
9+
<body>
10+
11+
<div class="container-fluid">
12+
<!-- Header Section -->
13+
<div class="row bg-dark text-white py-3">
14+
<div class="col text-center">
15+
<h2>JSON Formatter</h2>
16+
</div>
17+
</div>
18+
19+
<!-- Main Content Section -->
20+
<div class="row my-4">
21+
<!-- Left Panel -->
22+
<div class="col-md-4">
23+
<textarea class="form-control" rows="15" placeholder="JSON input..."></textarea>
24+
</div>
25+
26+
<!-- Center Panel (Upload & Validate Section) -->
27+
<div class="col-md-4 text-center">
28+
<div class="card p-3">
29+
<button class="btn btn-primary mb-3">Upload Data</button>
30+
<button class="btn btn-secondary mb-3">Validate</button>
31+
<div class="mb-3">
32+
<select class="form-select">
33+
<option selected>2 Tab Space</option>
34+
<option>4 Tab Space</option>
35+
<option>8 Tab Space</option>
36+
</select>
37+
</div>
38+
<button class="btn btn-success mb-3">Format / Beautify</button>
39+
<div class="mt-4">
40+
<img src="https://via.placeholder.com/300x250" alt="Ad" class="img-fluid">
41+
</div>
42+
</div>
43+
</div>
44+
45+
<!-- Right Panel -->
46+
<div class="col-md-4">
47+
<textarea class="form-control" rows="15" placeholder="Formatted JSON..."></textarea>
48+
</div>
49+
</div>
50+
51+
<!-- Footer Ad Section -->
52+
<div class="row justify-content-center">
53+
<div class="col-md-8">
54+
<img src="https://via.placeholder.com/728x90" alt="Ad" class="img-fluid">
55+
</div>
56+
</div>
57+
</div>
58+
59+
<!-- Bootstrap JS -->
60+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
61+
</body>
62+
</html>
63+
64+
65+
66+
167
<!DOCTYPE html>
268
<html lang="en">
369
<head>

0 commit comments

Comments
 (0)