-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (60 loc) · 2.42 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="zh-Hant-TW">
<head>
<title>Web code player</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description"
content="Welcome to use the web editor player, including HTML.CSS and JavaScript coding to present the results." />
<meta name="author" content="Quin Hsieh" />
<meta property="og:title" content="Code player" />
<meta property="og:description" content="Code player exercise" />
<meta property="og:type" content="website" />
<meta property="og:image" content="img/og-img.png" />
<meta property="og:url" content="https://quinhsieh.github.io/code-player" />
<meta property="og:image:alt" content="Code player exercise" />
<meta property="og:image:type" content="image/png" />
<link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/jquery.ui/1.10.4/themes/cupertino/jquery-ui.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js">
</script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="menu">
<div class="menu-container">
<div id="logo">
Web code player
</div>
<button id="runCode" class="button" type="button" name="button"><span>Run Code </span></button>
<!-- span=> inline-block -->
</div>
</div>
<div class="clear"></div>
<ul id="accordion">
<h3 id="html-code" class="tab">HTML</h3>
<div class="code-container">
<textarea id="html-code">
</textarea>
</div>
<h3 id="css-code" class="tab">CSS</h3>
<div class="code-container">
<textarea id="css-code">
</textarea>
</div>
<h3 id="js-code" class="tab">JavaScript</h3>
<div class="code-container">
<textarea id="js-code">
</textarea>
</div>
</ul>
<div class="clear"></div>
<div id="result-container">
<h2>Result</h2>
<iframe id="result-frame"></iframe>
</div>
<div class="footer"></div>
<script type="text/javascript" src="script.js"></script>
</body>
</html>