-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (30 loc) · 1.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Code editor</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<section class="container">
<h1>code editor</h1>
<div class="editor">
<div class="left">
<label ><i class="fa-brands fa-html5"></i>HTML</label>
<textarea onkeyup="run()" spellcheck="false" id="html-code"></textarea>
<label ><i class="fa-brands fa-css3"></i>CSS</label>
<textarea onkeyup="run()" spellcheck="false" id="css-code"></textarea>
<label ><i class="fa-brands fa-js"></i>Javascript</label>
<textarea onkeyup="run()" spellcheck="false" id="js-code"></textarea>
</div>
<div class="right">
<label ><i class="fa-solid fa-play"></i>OUTPUT</label>
<iframe id="output"></iframe>
</div>
</div>
</section>
<script src="script.js"></script>
</body>
</html>