-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
71 lines (64 loc) · 2.84 KB
/
index.html
File metadata and controls
71 lines (64 loc) · 2.84 KB
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
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Codash</title>
<link rel="icon" type="image/svg" href="/codashlogo.svg">
<link rel="stylesheet" href="styles.css">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>
<header class="main-header">
<div class="logo-header">
<img class="logo-img"src="/codashlogo.svg" width="50">
<div class="logo">
<h1>Codash</h1>
<h3>Code Editor</h3>
</div>
</div>
<div class="view-controls">
<button id="theme-toggle" title="Toggle Theme">
<i class='bx bxs-sun'></i>
</button>
<button id="btn-vertical" title="Vertical Layout">
<i class='bx bx-vertical-center'></i>
</button>
<button id="btn-horizontal" title="Horizontal Layout">
<i class='bx bx-horizontal-center'></i>
</button>
</div>
</header>
<main class="editor" id="editor">
<div class="left-pane" id="left-pane">
<div class="code-container">
<label for="html-code"><i class='bx bxl-html5'></i>HTML <button class="copy-btn" data-target="html-code">Copy to Clipboard</button></label>
<textarea spellcheck="false" id="html-code"></textarea>
</div>
<div class="code-container">
<label for="css-code"><i class='bx bxl-css3' ></i>CSS <button class="copy-btn" data-target="css-code">Copy to Clipboard</button></label>
<textarea spellcheck="false" id="css-code"></textarea>
</div>
<div class="code-container">
<label for="javascript-code"><i class='bx bxl-javascript' ></i>JavaScript <button class="copy-btn" data-target="javascript-code">Copy to Clipboard</button></label>
<textarea spellcheck="false" id="javascript-code"></textarea>
</div>
</div>
<div class="resizer" id="resizer"></div>
<div class="right-pane" id="right-pane">
<div class="output-header">
<div class="tabs">
<button class="tab-btn active" data-tab="output"><i class='bx bx-play'></i>Output</button>
<button class="tab-btn" data-tab="console"><i class='bx bx-terminal'></i>Console</button>
</div>
</div>
<iframe id="output" class="output-pane active"></iframe>
<div id="console" class="output-pane console-output"></div>
</div>
</main>
<footer class="main-footer">
<p>Created by <a href="https://github.com/Yash-775" target="_blank">Yash</a></p>
</footer>
<script src="script.js"></script>
</body>
</html>