-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
30 lines (28 loc) · 1.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/02d2734dc6.js" crossorigin="anonymous"></script>
<script src="script.js"></script>
<title>Live Code Editor</title>
</head>
<body>
<div class="container">
<div class="left">
<label><i class="fa-brands fa-html5"></i> HTML</label>
<textarea id="html-code" onkeyup="run()"></textarea>
<label><i class="fa-brands fa-css3-alt"></i> CSS</label>
<textarea id="css-code" onkeyup="run()"></textarea>
<label><i class="fa-brands fa-js"></i> JavaScript</label>
<textarea id="js-code"></textarea>
</div>
<div class="right">
<label><i class="fa-solid fa-play"></i>Output</label>
<iframe id="output" onkeyup="run()"></iframe>
</div>
</div>
</body>
</html>