-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindustrial.html
More file actions
235 lines (235 loc) · 8.69 KB
/
Copy pathindustrial.html
File metadata and controls
235 lines (235 loc) · 8.69 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Industrial Revolution | Evolution of Technology</title>
<link rel="stylesheet" href="style.css" />
<style>
body.industrial {
background:
linear-gradient(120deg, #e6ecf5 70%, #b7c4d6 100%),
url("https://www.transparenttextures.com/patterns/industrial.png");
background-blend-mode: lighten;
}
.industrial-header-art {
width: 100%;
max-width: 700px;
margin: 1.5rem auto 2.2rem auto;
display: flex;
justify-content: center;
align-items: flex-end;
}
.industrial-header-art svg {
height: 80px;
}
.interactives > div {
background: #e6ecf5;
border: 2px solid #b7c4d6;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", () => {
document.body.className = "industrial";
});
</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" class="active"
>Industrial Revolution</a
>
</li>
<li><a href="digital.html">Digital Era</a></li>
<li><a href="future.html">Future & Beyond</a></li>
</ul>
</nav>
</header>
<main>
<div class="industrial-header-art">
<!-- Steam Engine SVG -->
<svg viewBox="0 0 140 80">
<rect
x="20"
y="50"
width="100"
height="30"
fill="#444"
rx="10"
/>
<circle cx="45" cy="80" r="12" fill="#888" />
<circle cx="95" cy="80" r="12" fill="#888" />
<rect
x="65"
y="30"
width="10"
height="20"
fill="#a1ffce"
rx="3"
/>
<ellipse
cx="70"
cy="25"
rx="10"
ry="7"
fill="#222"
opacity="0.7"
/>
</svg>
</div>
<h1>Industrial Revolution</h1>
<p>
The Industrial Revolution began in Britain and rapidly
transformed the world. Mechanization, steam power, and mass
production revolutionized every aspect of life, from how people
worked to how they traveled and communicated.
</p>
<h2>Key Inventions</h2>
<ul>
<li>Steam engine and steam locomotive</li>
<li>Spinning jenny and mechanized looms</li>
<li>Telegraph and Morse code</li>
<li>Photography and early film</li>
<li>Factories and mass production</li>
</ul>
<h2>Interactive Demos</h2>
<section class="interactives">
<div>
<h3>Steam Engine Whistle</h3>
<p>
Pull the whistle to see the black smoke and watch the
whistle move!
</p>
<svg
id="steam-engine"
width="140"
height="90"
viewBox="0 0 140 90"
style="cursor: pointer; display: block; margin: auto"
>
<rect
x="20"
y="50"
width="100"
height="30"
fill="#444"
rx="10"
/>
<circle cx="45" cy="80" r="12" fill="#888" />
<circle cx="95" cy="80" r="12" fill="#888" />
<rect
id="whistle"
x="65"
y="30"
width="10"
height="20"
fill="#a1ffce"
rx="3"
/>
<ellipse
id="steam"
cx="70"
cy="25"
rx="10"
ry="7"
fill="#222"
opacity="0"
/>
<!-- Animated black smoke puffs -->
<ellipse
id="smoke1"
cx="70"
cy="15"
rx="7"
ry="4"
fill="#222"
opacity="0"
/>
<ellipse
id="smoke2"
cx="70"
cy="7"
rx="5"
ry="3"
fill="#222"
opacity="0"
/>
</svg>
</div>
<div>
<h3>Morse Code Tapper</h3>
<p>
Tap to send dots (•) and dashes (–) in Morse code. Clear
to start over.
</p>
<button id="morse-btn">Tap</button>
<button id="morse-clear">Clear</button>
<div
id="morse-output"
style="font-size: 1.2em; margin-top: 0.5em"
></div>
</div>
<div>
<h3>Spinning Jenny Animation</h3>
<p>Click the spinning jenny to see it in action!</p>
<svg
id="jenny"
width="70"
height="70"
viewBox="0 0 70 70"
style="cursor: pointer; display: block; margin: auto"
>
<circle
cx="35"
cy="35"
r="30"
fill="#bbb"
stroke="#888"
stroke-width="4"
/>
<rect
x="32"
y="10"
width="6"
height="50"
fill="#444"
rx="3"
/>
<rect
x="10"
y="32"
width="50"
height="6"
fill="#444"
rx="3"
/>
</svg>
</div>
</section>
<h2>Urbanization & Society</h2>
<p>
Cities grew rapidly, creating new social classes and challenges.
Labor unions formed to fight for workers’ rights. Public health
and education reforms began. The world became smaller as
railways and telegraphs connected continents.
</p>
<blockquote>
<b>Fun Fact:</b> The first photograph was taken in 1826 by
Joseph Nicéphore Niépce in France.
</blockquote>
<nav class="era-nav">
<a href="digital.html">→ Next: Digital Era</a>
</nav>
</main>
<footer>
<p>© 2025 Evolution of Technology</p>
</footer>
</body>
</html>