-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIDE.html
77 lines (47 loc) · 1.92 KB
/
IDE.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
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
72
73
74
75
76
77
<!doctype html>
<html>
<head>
<title>Online IDE</title>
<meta charset="utf-8" />
<!-- Google fonts: 'Prociono', 'Arvo' -->
<link href='http://fonts.googleapis.com/css?family=Prociono' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Arvo:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Inconsolata:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="./lib/IDEstyle.css" />
</head>
<body>
<div id="wrapper">
<div id="menuBar">
<div id="logo">WebDev OnlineIDE</div>
<div id="runButton">
<button id="run">Run</button>
</div>
</div>
<input type="checkbox" id="html" class="hidden" checked>
<label for="html" id="htmlLabel" class="toggles">HTML</label>
<input type="checkbox" id="css" class="hidden" checked>
<label for="css" id="cssLabel" class="toggles">CSS</label>
<input type="checkbox" id="js" class="hidden" checked>
<label for="js" id="jsLabel" class="toggles">JS</label>
<input type="checkbox" id="result" class="hidden" checked>
<label for="result" id="resultLabel" class="toggles">Result</label>
<div class="codeContainer" id="HTMLContainer">
<div class="codeLabel">HTML</div>
<textarea id="htmlCode">Example Code</textarea>
</div>
<div class="codeContainer" id="CSSContainer">
<div class="codeLabel">CSS</div>
<textarea id="cssCode">html {background-color: blue;}</textarea>
</div>
<div class="codeContainer" id="JSContainer">
<div class="codeLabel">JS</div>
<textarea id="jsCode">alert('Done');</textarea>
</div>
<div class="codeContainer" id="ResultContainer">
<div class="codeLabel">Result</div>
<iframe id="resultFrame"></iframe>
</div>
</div>
<script src="lib/customIDE.js"></script>
</body>
</html>