-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
226 lines (203 loc) · 5.46 KB
/
index.html
File metadata and controls
226 lines (203 loc) · 5.46 KB
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Live Code Editor</title>
<meta name="description" content="This is an online code editor for html css and javascript. ">
<meta name="robots" content="index, follow">
<meta name="author" content="Naem azam">
<meta name="keywords" content="Live code editor, online code editor, live html editor, live css editor, live javascript editor">
<link rel="stylesheet" href="main.css" />
</head>
<body>
<div class="header-wrap">
<h1>Live Code Editor</h1>
<h4>Compile HTML, CSS and JavaScript on the web</h4>
</div>
<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">
<!--predefined html, but editable-->
<div id="vcard">
<div id="card-content">
<div id="profile">
<span class="avatar">
<span class="typicons-user icon"></span>
<span class="info">
Naem Azam
<br />
naemazam@mail.com
</span>
</span>
</div>
<div id="options">
<ul>
<li><span class="typicons-anchor icon"></span>WEBSITE</li>
<li><span class="typicons-export icon"></span>SHARE</li>
<li><span class="typicons-plus icon"></span>FOLLOW</li>
<li><span class="typicons-tab icon"></span>HIRE</li>
</ul>
</div>
</div>
<div id="side-bar">
<ul>
<li><span class="typicons-user icon"></span>PROFILE</li>
<li><span class="typicons-list icon"></span>PROJECTS</li>
<li><span class="typicons-spanner icon"></span>SKILLS</li>
</ul>
</div>
</div>
</div>
</div>
<div class="panel-wrapper">
<div id="css">
/*predefined CSS, but editable*/
@import url(https://weloveiconfonts.com/api/?family=typicons);
@import url(https://fonts.googleapis.com/css?family=Exo:500,700);
/* typicons */
[class*="typicons-"]:before {
font-family: 'Typicons', sans-serif;
}
body {
background-image: radial-gradient(circle farthest-corner at center, #606060 20%, #414141 100%);
}
#vcard {
margin: 0 auto;
width: 600px;
height: 350px;
background: #31A66C;
border-radius: 4px;
box-shadow: 0px 5px 15px rgba(0,0,0, .3);
}
#card-content {
width: 500px;
float: left;
height: 100%;
}
#side-bar {
width: 100px;
float: left;
background: #fff;
height: 100%;
border-radius: 0 4px 4px 0;
box-shadow: -5px 0px 15px rgba(0,0,0, .3);
}
#profile {
height: 200px;
border-bottom: solid 1px rgba(255,255,255,.2);
}
#options ul {
margin: 0;
padding: 0;
}
#options ul li{
text-align: center;
font-family: Exo;
font-size: 14px;
color: white;
list-style-type: none;
display: inline-block;
float: left;
width: 123px;
height: 100px;
border-right: solid 1px rgba(255,255,255,.2);
text-shadow: 1px 1px 3px rgba(0,0,0,.3);
}
#options ul li:last-child{
border-right: none;
}
#options ul li span.icon {
display: block;
margin-top: 25px;
color: white;
font-size: 24px;
line-height: 32px;
}
#side-bar ul {
margin: 0;
padding: 0;
}
#side-bar ul li{
text-align: center;
font-family: Exo;
font-size: 12px;
color: #414141;
list-style-type: none;
display: inline-block;
float: left;
width: 100px;
height: 115px;
border-bottom: solid 1px #eaeaea;
}
#side-bar ul li:last-child{
border-bottom: none;
}
#side-bar ul li span.icon {
display: block;
margin-top: 25px;
color: #414141;
font-size: 36px;
line-height: 32px;
}
#profile {
padding-top: 50px;
text-align: center;
overflow: hidden;
}
span.avatar span.icon{
display: inline-block;
color: #414141;
font-size: 72px;
line-height: 100px;
background: #46af7b;
border: solid 3px rgba(255,255,255, .2);
overflow: hidden;
padding-top: 1px;
width: 90px;
height: 90px;
border-radius: 46px;
}
span.info {
padding-top: 10px;
display: block;
font-family: Exo;
font-size: 18px;
color: rgba(255,255,255, .7);
font-weight: normal;
text-shadow: 1px 1px 3px rgba(0,0,0,.3);
}
</div>
</div>
<div class="panel-wrapper">
<div id="js">
//predefined JavaScript, but editable
</div>
</div>
<div class="panel-wrapper">
<iframe id="result"></iframe>
</div>
</div>
</div>
<div class="description">
<p> A simple gift for my font-end Devloper Friends, It's a Html CSS and javascript live editor With live demo </p>
</div>
<div class="footer">
<div class="inner-wrap">
<p>© <span>Copyright 2023 Naem Azam </span> </p>
<div class="icons-wrap">
</div>
</div>
</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>