forked from Raksha25/CodeRunner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (39 loc) · 1.29 KB
/
index.html
File metadata and controls
41 lines (39 loc) · 1.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CodeRunner</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link rel="stylesheet" href="styles.css" />
<script src="script.js" defer></script>
</head>
<body>
<div id="header">
<div id="logo">CodeRunner</div>
<button id="runBtn">Run</button>
<div id="btnContainer">
<div class="toggle-btn" id="html">HTML</div>
<div class="toggle-btn" id="css">CSS</div>
<div class="toggle-btn" id="js">JS</div>
<div class="toggle-btn" id="output">Output</div>
</div>
</div>
<div id="bodyContainer">
<textarea class="panelH" id="htmlTA" placeholder="Enter HTML"></textarea>
<textarea class="panel" id="cssTA" placeholder="Enter CSS"></textarea>
<textarea
class="panel"
id="jsTA"
placeholder="Enter Java Script"
></textarea>
<div>
<p style="margin: 0px; color: grey" id="output-txt" class="panel">
Output
</p>
<hr />
<iframe id="outputDiv" class="panel"></iframe>
</div>
</div>
</body>
</html>