-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
148 lines (135 loc) · 4.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- Primary Meta Tags -->
<meta
name="description"
content="Visualize and interact with the JavaScript runtime environment."
/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<meta name="author" content="Amir Hossein Salighedar" />
<meta
name="keywords"
content="JavaScript, Runtime, Visualized, Web Development, web-apis, stack, queue, event-loop, simulation, async, await, promise, callback, function, console"
/>
<title>JavaScript Runtime Visualized</title>
<!-- Open Graph / Facebook -->
<meta property="og:title" content="JavaScript Runtime Visualized" />
<meta
property="og:description"
content="Visualize and interact with the JavaScript runtime environment."
/>
<meta property="og:image" content="./public/javascriptRunTime.png" />
<meta property="og:type" content="website" />
<!-- Twitter -->
<meta name="twitter:card" content="A javascript Visualization runtime for learning" />
<meta name="twitter:title" content="JavaScript Runtime Visualized" />
<meta
name="twitter:description"
content="Visualize and interact with the JavaScript runtime environment."
/>
<meta name="twitter:image" content="./public/javascriptRunTime.png" />
<link rel="stylesheet" href="./public/styles/index.scss" />
<script type="application/ld+json">
{
"@context": "https://github.com/amirho1/JavaScript-Runtime-Environment.git",
"@type": "WebPage",
"name": "JavaScript Runtime Visualized",
"author": {
"@type": "Person",
"name": "Amir Hossein Salighedar"
},
"description": "Visualize and interact with the JavaScript runtime environment.",
"keywords": "JavaScript, Runtime, Visualized, Web Development, web-apis, stack, queue, event-loop, simulation, async, await, promise, callback, function, console"
}
</script>
</head>
<body>
<!-- Header with main heading and brief description -->
<header>
<h1>JavaScript Runtime Visualized</h1>
<p>Visualize and interact with the JavaScript runtime environment.</p>
</header>
<!-- Main content area -->
<main>
<section id="project-top-wrapper">
<section id="editor-wrapper">
<div id="editor"></div>
<div id="button-wrapper">
<button id="run">Run</button>
</div>
</section>
<section id="runtime-top-wrapper">
<div class="box" id="stack">
<header class="title-wrapper">
<h2 class="title">Call Stack</h2>
</header>
<div class="backdrop">
<img
width="50"
height="50"
class="rotation-animation"
src="/rotate.svg"
alt="Icon illustrating rotation animation"
/>
</div>
<div id="stack-items-wrapper"></div>
</div>
<div class="box" id="web-apis">
<header class="title-wrapper">
<h2 class="title">Web APIs</h2>
</header>
<div class="backdrop">
<img
width="50"
height="50"
class="rotation-animation"
src="/rotate.svg"
alt="Icon illustrating rotation animation"
/>
</div>
<div id="web-apis-items-wrapper"></div>
</div>
</section>
</section>
<section id="project-bottom-wrapper">
<div class="box" id="console">
<header class="title-wrapper">
<h2 class="title">Console</h2>
</header>
<div class="item-wrapper"></div>
</div>
<section id="runtime-bottom-wrapper">
<div id="event-loop">
<h3>Event Loop</h3>
<img width="50" height="50" src="/rotate.svg" alt="Javascript event loop rotate icon" />
</div>
<div class="box" id="task-queue">
<header class="title-wrapper">
<h3 class="title">Task Queue</h3>
</header>
<div id="task-queue-items-wrapper"></div>
</div>
<div class="box" id="micro-task-queue">
<header class="title-wrapper">
<h3 class="title">Micro Task Queue</h3>
</header>
<div id="micro-task-queue-items-wrapper"></div>
</div>
</section>
</section>
</main>
<footer>
<p id="author">
Created by
<a aria-label="author" href="mailto:[email protected]"
><strong>Amir Hossein Salighedar</strong></a
>
</p>
</footer>
<!-- Scripts -->
<script type="module" src="/index.ts"></script>
</body>
</html>