-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (56 loc) · 1.64 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>V-IDE</title>
<meta name="description" content="This is an online code editor for html css and javascript. ">
<link rel="stylesheet" href="main.css" />
</head>
<body>
<div class="theme-switch-wrapper">
<label class="theme-switch" for="checkbox">
<input type="checkbox" id="checkbox" />
<div class="slider round"></div>
</label>
<em>   Dark Mode</em>
</div>
<br>
<h1 style= "font-family: 'Courier New', Courier, monospace; color: darkorange;" align="center">V-IDE </h1><br>
<div id="ide-parent">
<div id="button-wrapper">
<button onclick="switchPanel(0)">HTML</button>
<button onclick="switchPanel(1)">CSS</button>
<button onclick="switchPanel(2)">Js</button>
<button onclick="runEdit(3)">Result</button>
</div>
<div id="ide-container">
<div class="panel-wrapper">
<div id="html">
<!--Write Your code below-->
<div class="demo">
</div>
</div>
</div>
<div class="panel-wrapper">
<div id="css">
/*Write Your CSS code below*/
</div>
</div>
<div class="panel-wrapper">
<div id="js">
//Write Your JavaScript code below
</div>
</div>
<div class="panel-wrapper">
<iframe id="result"></iframe>
</div>
</div>
</div>
<div class="description">
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.11/ace.js" type="text/javascript"
charset="utf-8"></script>
<script src="app.js"></script>
</body>
</html>