-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
149 lines (149 loc) · 5.9 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<html lang="en" class="default-theme">
<head>
<meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HTML PlayGround - Live Code Editor</title>
<meta
name="keywords"
content="html, css, js, code editor, compiler, tryit editor, ace editor, web design, code playground, live editor"
/>
<meta
name="description"
content="Code editor for working with html css and js code online. Easily design web pages and templates and view live result side by side."
/>
<meta name="robots" content="index, follow" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="shortcut icon" type="image/png" sizes="192x192" href="/favicon-192x192.png" />
<link
rel="preload"
href="./fonts/BioRhyme-Regular-latin.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
<link
rel="preload"
href="./fonts/BioRhyme-Regular-latin_ext.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./fonts/fonts.css" />
<link rel="stylesheet" href="./css/style.css" />
<script>
var ga = document.createElement("script");
ga.async = true;
ga.src = "https://www.googletagmanager.com/gtag/js?id=G-GJCHG84XCY";
document.head.appendChild(ga);
window.dataLayer = window.dataLayer || [];
window.gtag = function () {
window.dataLayer.push(arguments);
};
window.gtag("js", new Date());
window.gtag("config", "G-GJCHG84XCY");
</script>
</head>
<body>
<div class="flex-container">
<div class="flex-item-1">
<nav class="navbar">
<ul>
<li class="titleNav">
<a href="#" class="titleNavLink">HTML playground</a>
</li>
<span class="ariahidden"></span>
<li class="navitem active" onclick="toggle(this,0)">
<a href="#" class="htmlNavLink">
<img
src="./img/html5-brands.svg"
alt="html5"
width="20px"
height="20px"
style="vertical-align: middle; filter: invert(1); margin-top: -2px"
/>
HTML</a
>
</li>
<li class="navitem" onclick="toggle(this,1)">
<a href="#" class="cssNavLink"
><img
src="./img/css3-brands.svg"
alt="css3"
width="20px"
height="18px"
style="vertical-align: middle; filter: invert(1); margin-top: -2px"
/>
CSS</a
>
</li>
<li class="navitem" onclick="toggle(this,2)">
<a href="#" class="jsNavLink"
><img
src="./img/js-brands.svg"
alt="js"
width="20px"
height="21px"
style="vertical-align: middle; filter: invert(1); margin-top: -2px"
/>
JS</a
>
</li>
<li class="navitem active" onclick="toggle(this,3)">
<a href="#" class="resultNavLink">RESULT</a>
</li>
<span class="ariahidden"></span>
<li class="navitem optionsNav">
<a href="#" class="optionsNavLink"></a>
<ul>
<li onclick="saveTextAsFile(window.finalDoc.outerHTML)">
<a href="#"
><img
src="./img/save-solid.svg"
alt="save"
width="20px"
height="19px"
style="vertical-align: middle; filter: invert(1); margin-top: -4px; margin-right: 5px"
/>Save Code</a
>
</li>
<li onclick="changeTheme()">
<a href="#" id="chTheme"
><img
src="./img/adjust-solid.svg"
alt="theme"
width="20px"
height="19px"
style="vertical-align: middle; filter: invert(1); margin-top: -2px"
/>
Switch Theme</a
>
</li>
</ul>
</li>
</ul>
<a href="javascript:void(0)" class="hbmNavIcon" onclick="navToggle()">☰</a>
</nav>
</div>
<div data-flex-splitter-horizontal class="flex-item-2 bigscreen">
<div id="htmlEditor" class="editor fi-2-column-1 con"></div>
<div id="cssEditor" class="editor fi-2-column-2 con"></div>
<div id="jsEditor" class="editor fi-2-column-3 con"></div>
<iframe id="ifrResult" class="fi-2-column-4 con"></iframe>
</div>
</div>
<script type="text/javascript" src="./js/main.js"></script>
<script type="text/javascript" src="./js/ace/ace.js"></script>
<script type="text/javascript" src="./js/ace/mode-css.js"></script>
<script type="text/javascript" src="./js/ace/mode-javascript.js"></script>
<script type="text/javascript" src="./js/ace/mode-html.js"></script>
<script type="text/javascript" src="./js/ace/worker-css.js"></script>
<script type="text/javascript" src="./js/ace/worker-javascript.js"></script>
<script type="text/javascript" src="./js/ace/worker-html.js"></script>
<script type="text/javascript" src="./js/ace/theme-crimson_editor.js"></script>
<script type="text/javascript" src="./js/ace/theme-monokai.js"></script>
</body>
</html>