-
-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy path404.html
More file actions
267 lines (221 loc) · 11.2 KB
/
404.html
File metadata and controls
267 lines (221 loc) · 11.2 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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>
Not Found - HTML.ORG.IN
</title>
<meta name="theme-color" content="#ffffff">
<meta name="description" content="html.org.in is a free, open-source web development platform offering beginner to advanced tutorials on HTML, CSS, JavaScript, and responsive design. Learn to build modern, mobile-friendly websites with step-by-step guides, code examples, and developer tools."/>
<link rel="icon" type="image/svg+xml" href="/_images/web-icon.png"/>
<link rel="icon" type="image/png" sizes="32x32" href="/_images/web-icon.png">
<link rel="icon" type="image/png" sizes="16x16" href="/_images/web-icon.png">
<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin=""/>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&subset=latin&display=swap"
rel="stylesheet"/>
<link rel="preload" href="/_lib/index.css" as="style">
<link rel="stylesheet" href="/_lib/index.css"/>
<style>
:root {
color-scheme: light dark;
}
html {
scroll-padding-top: 120px;
visibility: hidden;
opacity: 0;
}
</style>
<script>
function getInitialTheme() {
const savedTheme = localStorage.getItem('theme') || 'light';
if (savedTheme === 'light' || savedTheme === 'dark') return savedTheme;
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
}
const theme = getInitialTheme();
document.documentElement.classList.add('theme-' + theme);
</script>
</head>
<body>
<div id="root">
<sl-drawer id="menu-drawer" label="Not Found" class="drawer__control" placement="top">
<div class="body__drawer">
<div class="items">
<sl-button
class="nav_button"
size="medium"
href="/"
>
Home
</sl-button>
<sl-button
class="nav_button"
size="medium"
href="https://github.com/sponsors/Diptenusarkar"
>
Become a sponsor
</sl-button>
<sl-button
class="nav_button"
size="medium"
href="https://github.com/Diptenusarkar/html.org.in/"
>
Become a Contributor
</sl-button>
<sl-button
class="nav_button"
size="medium"
href="https://v1.html.org.in/"
>
Old Website
</sl-button>
</div>
<sl-divider class="divider__drawer"></sl-divider>
</div>
</sl-drawer>
<div class="body__wrapper">
<div class="nav__container">
<nav>
<div class="border-box"></div>
<div class="logo">
<div class="icon">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-filetype-html" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M14 4.5V11h-1V4.5h-2A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v9H2V2a2 2 0 0 1 2-2h5.5zm-9.736 7.35v3.999h-.791v-1.714H1.79v1.714H1V11.85h.791v1.626h1.682V11.85h.79Zm2.251.662v3.337h-.794v-3.337H4.588v-.662h3.064v.662zm2.176 3.337v-2.66h.038l.952 2.159h.516l.946-2.16h.038v2.661h.715V11.85h-.8l-1.14 2.596H9.93L8.79 11.85h-.805v3.999zm4.71-.674h1.696v.674H12.61V11.85h.79v3.325Z"/>
</svg>
</div>
<div>
<a href="/"><span class="line-clamp-1">HTML.ORG.IN</span></a>
</div>
</div>
<div class="items">
<div class="container">
<sl-button
class="nav_button"
size="medium"
href="/"
>
Home
</sl-button>
<sl-button
class="nav_button"
size="medium"
href="https://github.com/sponsors/Diptenusarkar"
>
Become a sponsor
</sl-button>
<sl-button
class="nav_button"
size="medium"
href="https://github.com/Diptenusarkar/html.org.in/"
>
Become a Contributor
</sl-button>
<sl-button
class="nav_button"
size="medium"
href="https://v1.html.org.in/"
>
Old Website
</sl-button>
</div>
</div>
<div class="search">
<div>
<sl-button id="search-button" class="search_button">
<sl-icon slot="prefix" name="search"></sl-icon>
Search
<div slot="suffix">
<div class="button__prefix-wrapper">
<div class="button__prefix-container">
<sl-icon name="command"></sl-icon>
<span class="font-w-semibold">K</span>
</div>
</div>
</div>
</sl-button>
</div>
<div>
<sl-dropdown id="theme-selector" hoist>
<sl-button slot="trigger" class="nav_button">
<sl-icon id="theme-selector-icon" slot="prefix" name="sun"></sl-icon>
</sl-button>
<sl-menu id="theme-selector-menu">
<sl-menu-item type="checkbox" value="light">Light</sl-menu-item>
<sl-menu-item type="checkbox" value="dark">Dark</sl-menu-item>
<sl-menu-item type="checkbox" value="system">System</sl-menu-item>
</sl-menu>
</sl-dropdown>
</div>
<div class="menu">
<sl-button id="menu-open-trigger" class="nav_button" outline>
<sl-icon slot="prefix" name="list"></sl-icon>
</sl-button>
</div>
</div>
</nav>
</div>
<div class="content__container">
<div style="height: 100dvh; width: 100%; display: flex; justify-content: center; align-items: start;">
<h1 class="pt-12 text-muted">
404 | Not Found
</h1>
</div>
</div>
<footer>
<div class="stack__column stack__gap-4 stack__center">
<div class="stack__row stack__gap-7 stack__center">
<div class="font-x-small">
<a href="https://github.com/sponsors/Diptenusarkar" target="_blank">Become a sponsor</a>
</div>
<div class="font-x-small">
<a href="https://github.com/Diptenusarkar/html.org.in/" target="_blank">Become a Contributor </a>
</div>
<div class="font-x-small">
<a href="https://tiledocs.com/" target="_blank">Made With TileDocs </a>
</div>
</div>
<div class="stack__row stack__center">
<span>We believe that open source can make a difference.
So that's why html.org.in will be free for all forever 💖</span>
</div>
</div>
</footer>
</div>
</div>
<sl-dialog id="search-dialog" class="dialog_control dialog__search">
<div slot="label">
<p>Search</p>
</div>
<div class="pane stack__column stack__gap-4">
<div>
<sl-input
id="search-input"
type="text"
size="small"
autocomplete="off"
autofocus
clearable
placeholder="Type text you want to search..."
>
</sl-input>
</div>
<div id="search-result" class="stack__column stack__gap-4 search-result">
</div>
<div id="search-footer" class="footer"></div>
</div>
</sl-dialog>
<script type="module" src="/_lib/index.js" data-shoelace="/_lib"></script>
<script type="module">
import {initPage, initTheme, initSearch, initToc} from '/_lib/init.js';
import {preInitTree} from '/_lib/pre.js';
preInitTree();
await initPage();
await initTheme('light');
await initSearch('https://euphonious-lebkuchen-0f19b1.netlify.app', '1745237939796');
document.documentElement.style.visibility = 'visible';
document.documentElement.style.opacity = '1';
initToc();
</script>
</body>
</html>