-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdigital.html
More file actions
245 lines (245 loc) · 8.92 KB
/
Copy pathdigital.html
File metadata and controls
245 lines (245 loc) · 8.92 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Digital Era | Evolution of Technology</title>
<link rel="stylesheet" href="style.css" />
<style>
body.digital {
background:
radial-gradient(
ellipse at 60% 20%,
#e6f4ff 40%,
#c2e0ff 100%
),
url("https://www.transparenttextures.com/patterns/cubes.png");
background-blend-mode: lighten;
animation: digital-bg-move 16s linear infinite alternate;
}
@keyframes digital-bg-move {
0% {
background-position:
0 0,
0 0;
}
100% {
background-position:
0 0,
200px 200px;
}
}
.digital-header-art {
width: 100%;
max-width: 700px;
margin: 1.5rem auto 2.2rem auto;
display: flex;
justify-content: center;
align-items: flex-end;
}
.digital-header-art svg {
height: 80px;
}
.interactives > div {
background: #e6f4ff;
border: 2px solid #c2e0ff;
}
.digital-glow {
filter: drop-shadow(0 0 18px #00c3ff88);
}
</style>
<script>
document.addEventListener("DOMContentLoaded", () => {
document.body.className = "digital";
});
</script>
<script defer src="script.js"></script>
</head>
<body>
<header>
<nav>
<a href="index.html" class="logo">Evolution of Technology</a>
<ul>
<li><a href="stone-age.html">Stone Age</a></li>
<li><a href="ancient.html">Ancient Civilizations</a></li>
<li><a href="industrial.html">Industrial Revolution</a></li>
<li>
<a href="digital.html" class="active">Digital Era</a>
</li>
<li><a href="future.html">Future & Beyond</a></li>
</ul>
</nav>
</header>
<main>
<div class="digital-header-art">
<!-- Monitor + smartphone + pixel art -->
<svg viewBox="0 0 160 80" class="digital-glow">
<rect
x="30"
y="20"
width="60"
height="40"
rx="7"
fill="#212121"
/>
<rect
x="40"
y="35"
width="40"
height="12"
rx="2"
fill="#00c3ff"
/>
<rect
x="110"
y="30"
width="16"
height="30"
rx="4"
fill="#fff"
/>
<rect
x="114"
y="36"
width="8"
height="18"
rx="2"
fill="#00c3ff"
/>
<!-- Pixel art grid -->
<g>
<rect
x="135"
y="55"
width="4"
height="4"
fill="#00c3ff"
/>
<rect
x="139"
y="55"
width="4"
height="4"
fill="#212121"
/>
<rect
x="135"
y="59"
width="4"
height="4"
fill="#212121"
/>
<rect
x="139"
y="59"
width="4"
height="4"
fill="#00c3ff"
/>
</g>
</svg>
</div>
<h1>Digital Era</h1>
<p>
The birth of electronic computers, the internet, and mobile
devices has reshaped society in ways unimaginable a century ago.
The digital revolution continues to accelerate, transforming
every aspect of our lives.
</p>
<h2>Key Inventions</h2>
<ul>
<li>Electronic computers (ENIAC, UNIVAC)</li>
<li>Microprocessors and integrated circuits</li>
<li>The World Wide Web and browsers</li>
<li>Smartphones and mobile apps</li>
<li>Artificial Intelligence and machine learning</li>
</ul>
<h2>Interactive Demos</h2>
<section class="interactives">
<div>
<h3>Terminal Emulator</h3>
<p>
Type a command and press Enter. Try: <code>hello</code>,
<code>who are you</code>, <code>history</code>,
<code>ascii</code>
</p>
<div
id="terminal"
style="
background: #181818;
color: #00c3ff;
padding: 1rem 1.5rem;
border-radius: 1rem;
width: 90%;
max-width: 350px;
box-shadow: 0 2px 12px #0006;
"
>
<span>> </span
><input
id="terminal-input"
style="
background: transparent;
border: none;
color: #00c3ff;
font-size: 1.1rem;
width: 70%;
"
autofocus
autocomplete="off"
/>
<div
id="terminal-output"
style="margin-top: 0.7rem; font-size: 1rem"
></div>
</div>
</div>
<div>
<h3>Pixel Art Canvas</h3>
<p>Draw pixel art by clicking and dragging on the grid!</p>
<canvas
id="pixel-canvas"
width="120"
height="120"
style="
border: 1px solid #ddd;
border-radius: 8px;
background: #f7f8fa;
display: block;
margin: auto;
"
></canvas>
</div>
<div>
<h3>Turing Machine Demo</h3>
<p>
Click to flip bits and move along the tape. A nod to the
origins of computing!
</p>
<button id="turing-btn">Step</button>
<div
id="turing-tape"
style="margin-top: 0.8em; font-size: 1.3em"
></div>
</div>
</section>
<h2>Society & Culture</h2>
<p>
The digital era has brought about globalization, instant
communication, and new forms of art, commerce, and activism.
Privacy, cybersecurity, and digital divides are key issues. The
pace of change continues to accelerate.
</p>
<blockquote>
<b>Fun Fact:</b> The first email was sent in 1971 by Ray
Tomlinson.
</blockquote>
<nav class="era-nav">
<a href="future.html">→ Next: Future & Beyond</a>
</nav>
</main>
<footer>
<p>© 2025 Evolution of Technology</p>
</footer>
</body>
</html>