@arcade-v/arcade_v 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -12
- package/loadsite/404.html +239 -0
- package/loadsite/Fractions.html +494 -0
- package/loadsite/addition_and_subtraction.html +96 -0
- package/loadsite/calculator.html +110 -0
- package/loadsite/cells.html +188 -0
- package/loadsite/chemical_reactions.html +53 -0
- package/loadsite/figurative_language.html +169 -0
- package/loadsite/geometry.html +167 -0
- package/loadsite/multiplication.html +128 -0
- package/loadsite/negative_numbers.html +106 -0
- package/loadsite/parts_of_speech.html +165 -0
- package/loadsite/periodic_table.html +145 -0
- package/loadsite/quadrilaterals.html +174 -0
- package/loadsite/water_cycle.html +71 -0
- package/navigation/games/apps.json +27 -9
- package/navigation/games/games.js +1 -177
- package/navigation/games/games.json +78 -61
- package/package.json +1 -1
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
<html lang="en"><head>
|
|
2
|
+
<meta charset="UTF-8">
|
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
4
|
+
<title>Parts of a Cell</title>
|
|
5
|
+
|
|
6
|
+
<meta name="description" content="Biology explained in easy language. For K-12 kids, teachers and parents.">
|
|
7
|
+
<style>
|
|
8
|
+
/* General Reset */
|
|
9
|
+
body, h1, h2, h3, p {
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* General Page Styles */
|
|
16
|
+
body {
|
|
17
|
+
font-family: "Comic Sans MS", Brush Script MT, Cursive;
|
|
18
|
+
background-color: #f4f4f9;
|
|
19
|
+
padding-bottom: 60px; /* Ensure footer doesn't overlap content */
|
|
20
|
+
margin: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
header {
|
|
24
|
+
background-color: #4CAF50;
|
|
25
|
+
color: white;
|
|
26
|
+
padding: 10px 0;
|
|
27
|
+
text-align: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
header h1 {
|
|
31
|
+
color: white;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
nav {
|
|
35
|
+
background-color: #333;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
nav a {
|
|
40
|
+
color: white;
|
|
41
|
+
padding: 14px 20px;
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
display: inline-block;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
nav a:hover {
|
|
47
|
+
background-color: #ddd;
|
|
48
|
+
color: black;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
main {
|
|
52
|
+
padding: 20px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
h1, h2 {
|
|
56
|
+
color: #4CAF50;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Cell Parts Section */
|
|
60
|
+
.cell-part {
|
|
61
|
+
background-color: white;
|
|
62
|
+
margin: 10px 0;
|
|
63
|
+
padding: 15px;
|
|
64
|
+
border-radius: 8px;
|
|
65
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.cell-part img {
|
|
71
|
+
width: 200px;
|
|
72
|
+
height: auto;
|
|
73
|
+
border-radius: 8px;
|
|
74
|
+
margin-right: 20px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.cell-part div {
|
|
78
|
+
flex: 1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Footer Styling */
|
|
82
|
+
footer {
|
|
83
|
+
background-color: #333;
|
|
84
|
+
color: white;
|
|
85
|
+
text-align: center;
|
|
86
|
+
padding: 10px;
|
|
87
|
+
position: relative;
|
|
88
|
+
width: 100%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Make navigation and sections responsive */
|
|
92
|
+
@media (max-width: 768px) {
|
|
93
|
+
nav a {
|
|
94
|
+
padding: 10px 15px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.cell-part {
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
text-align: center;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.cell-part img {
|
|
103
|
+
width: 150px;
|
|
104
|
+
margin-bottom: 15px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
</style>
|
|
108
|
+
</head>
|
|
109
|
+
|
|
110
|
+
<body>
|
|
111
|
+
<header>
|
|
112
|
+
<h1>Parts of a Cell</h1>
|
|
113
|
+
</header>
|
|
114
|
+
|
|
115
|
+
<main>
|
|
116
|
+
<!-- Content sections -->
|
|
117
|
+
<nav>
|
|
118
|
+
<a href="#nucleus">Nucleus</a>
|
|
119
|
+
<a href="#mitochondria">Mitochondria</a>
|
|
120
|
+
<a href="#ribosomes">Ribosomes</a>
|
|
121
|
+
<a href="#cytoplasm">Cytoplasm</a>
|
|
122
|
+
<a href="#cell-membrane">Cell Membrane</a>
|
|
123
|
+
</nav>
|
|
124
|
+
|
|
125
|
+
<section id="nucleus">
|
|
126
|
+
<h2>Nucleus</h2>
|
|
127
|
+
<div class="cell-part">
|
|
128
|
+
<img src="https://raw.githubusercontent.com/FutureElliotto/arcade-3/refs/heads/main/images/nucleusfigure1.jpg" alt="Illustration of Nucleus">
|
|
129
|
+
<div>
|
|
130
|
+
<h3>The Control Center</h3>
|
|
131
|
+
<p>The nucleus is the control center of the cell, containing the cell's DNA. It regulates gene expression and cell division.</p>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
</section>
|
|
135
|
+
|
|
136
|
+
<section id="mitochondria">
|
|
137
|
+
<h2>Mitochondria</h2>
|
|
138
|
+
<div class="cell-part">
|
|
139
|
+
<img src="https://raw.githubusercontent.com/FutureElliotto/arcade-3/refs/heads/main/images/Animal_mitochondrion_diagram_en.svg" alt="Illustration of Mitochondria">
|
|
140
|
+
<div>
|
|
141
|
+
<h3>Powerhouse of the Cell</h3>
|
|
142
|
+
<p>Mitochondria generate energy for the cell by converting nutrients into ATP, which powers various cell processes.</p>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
</section>
|
|
146
|
+
|
|
147
|
+
<section id="ribosomes">
|
|
148
|
+
<h2>Ribosomes</h2>
|
|
149
|
+
<div class="cell-part">
|
|
150
|
+
<img src="https://raw.githubusercontent.com/FutureElliotto/arcade-3/refs/heads/main/images/ribosome_lrg_sm_subunits-23b46a3be6354c4eacb550b25fa3c69d.jpg" alt="Illustration of Ribosomes">
|
|
151
|
+
<div>
|
|
152
|
+
<h3>Protein Factories</h3>
|
|
153
|
+
<p>Ribosomes are responsible for synthesizing proteins by translating mRNA into amino acid chains.</p>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
</section>
|
|
157
|
+
|
|
158
|
+
<section id="cytoplasm">
|
|
159
|
+
<h2>Cytoplasm</h2>
|
|
160
|
+
<div class="cell-part">
|
|
161
|
+
<img src="https://raw.githubusercontent.com/FutureElliotto/arcade-3/refs/heads/main/images/cytoplasm.jpg" alt="Illustration of Cytoplasm">
|
|
162
|
+
<div>
|
|
163
|
+
<h3>Cell's Environment</h3>
|
|
164
|
+
<p>The cytoplasm is the jelly-like substance that fills the space between the cell membrane and the nucleus. It houses the organelles.</p>
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
167
|
+
</section>
|
|
168
|
+
|
|
169
|
+
<section id="cell-membrane">
|
|
170
|
+
<h2>Cell Membrane</h2>
|
|
171
|
+
<div class="cell-part">
|
|
172
|
+
<img src="https://raw.githubusercontent.com/FutureElliotto/arcade-3/refs/heads/main/images/lipid-bilayer-proteins-surfaces-phospholipids-thickness-cholesterol.webp" alt="Illustration of Cell Membrane">
|
|
173
|
+
<div>
|
|
174
|
+
<h3>Protective Barrier</h3>
|
|
175
|
+
<p>The cell membrane is a selective barrier that regulates what enters and exits the cell, maintaining the cell's internal environment.</p>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
</section>
|
|
179
|
+
</main>
|
|
180
|
+
|
|
181
|
+
<script src="https://cdn.jsdelivr.net/npm/@arcade-v/arcade_v/navigation/games/loadsite.js"></script>
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
</body></html>
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Chemical Reactions</title>
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
font-family: Arial, sans-serif;
|
|
9
|
+
background-color: #f0f4f7;
|
|
10
|
+
color: #333;
|
|
11
|
+
padding: 20px;
|
|
12
|
+
}
|
|
13
|
+
h1 {
|
|
14
|
+
color: #00509e;
|
|
15
|
+
}
|
|
16
|
+
.reaction-example {
|
|
17
|
+
background-color: #e0e7ef;
|
|
18
|
+
padding: 10px;
|
|
19
|
+
border-left: 4px solid #007acc;
|
|
20
|
+
margin: 15px 0;
|
|
21
|
+
}
|
|
22
|
+
</style>
|
|
23
|
+
</head>
|
|
24
|
+
<body>
|
|
25
|
+
|
|
26
|
+
<h1>Introduction to Chemical Reactions</h1>
|
|
27
|
+
|
|
28
|
+
<p>A <strong>chemical reaction</strong> is a process in which one or more substances (reactants) are transformed into new substances (products). During a chemical reaction, bonds between atoms are broken and new bonds are formed.</p>
|
|
29
|
+
|
|
30
|
+
<h2>Types of Chemical Reactions</h2>
|
|
31
|
+
<ul>
|
|
32
|
+
<li>Combination Reaction</li>
|
|
33
|
+
<li>Decomposition Reaction</li>
|
|
34
|
+
<li>Single Displacement Reaction</li>
|
|
35
|
+
<li>Double Displacement Reaction</li>
|
|
36
|
+
<li>Combustion Reaction</li>
|
|
37
|
+
</ul>
|
|
38
|
+
|
|
39
|
+
<h2>Example Reaction</h2>
|
|
40
|
+
<div class="reaction-example">
|
|
41
|
+
<p><strong>Hydrogen + Oxygen → Water</strong></p>
|
|
42
|
+
<p>2H<sub>2</sub> + O<sub>2</sub> → 2H<sub>2</sub>O</p>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<p>This is a combination reaction where hydrogen and oxygen gases react to form water.</p>
|
|
46
|
+
|
|
47
|
+
<footer>
|
|
48
|
+
<p>© 2025 Basic Chemistry Info</p>
|
|
49
|
+
</footer>
|
|
50
|
+
<script src="https://cdn.jsdelivr.net/npm/@arcade-v/arcade_v/navigation/games/loadsite.js"></script>
|
|
51
|
+
|
|
52
|
+
</body>
|
|
53
|
+
</html>
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
6
|
+
<title>Figurative Language — Quick Lesson</title>
|
|
7
|
+
<meta name="description" content="Simple, kid-friendly lesson page explaining common types of figurative language with examples and a small quiz." />
|
|
8
|
+
<style>
|
|
9
|
+
:root{--bg:#f8fafc;--card:#ffffff;--accent:#2563eb;--muted:#6b7280}
|
|
10
|
+
*{box-sizing:border-box}
|
|
11
|
+
body{font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; background:var(--bg); color:#111827; margin:0;padding:2rem}
|
|
12
|
+
.container{max-width:900px;margin:0 auto}
|
|
13
|
+
header{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem}
|
|
14
|
+
header h1{font-size:1.6rem;margin:0}
|
|
15
|
+
header p{margin:0;color:var(--muted)}
|
|
16
|
+
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
|
|
17
|
+
.card{background:var(--card);padding:1rem;border-radius:12px;box-shadow:0 6px 18px rgba(16,24,40,0.06)}
|
|
18
|
+
.type{font-weight:600;color:var(--accent);margin-bottom:.25rem}
|
|
19
|
+
.example{margin:.5rem 0;padding:.5rem;border-left:3px solid #eef2ff;background:#fbfdff;border-radius:6px}
|
|
20
|
+
.muted{color:var(--muted);font-size:.95rem}
|
|
21
|
+
.quiz{display:flex;flex-direction:column;gap:.5rem}
|
|
22
|
+
button{background:var(--accent);color:white;border:0;padding:.5rem .75rem;border-radius:8px;cursor:pointer}
|
|
23
|
+
.small{font-size:.9rem}
|
|
24
|
+
footer{margin-top:1.25rem;text-align:center;color:var(--muted);font-size:.9rem}
|
|
25
|
+
@media print{body{padding:0}button{display:none}}
|
|
26
|
+
</style>
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
<div class="container">
|
|
30
|
+
<header>
|
|
31
|
+
<div>
|
|
32
|
+
<h1>Figurative Language — Quick Lesson</h1>
|
|
33
|
+
<p class="muted">Short definitions, examples, and a tiny quiz to check understanding.</p>
|
|
34
|
+
</div>
|
|
35
|
+
</header>
|
|
36
|
+
|
|
37
|
+
<main class="grid">
|
|
38
|
+
<section class="card">
|
|
39
|
+
<div class="type">Simile</div>
|
|
40
|
+
<div class="small muted">Compares two things using <strong>like</strong> or <strong>as</strong>.</div>
|
|
41
|
+
<div class="example"><strong>Example:</strong> She was as brave as a lion.</div>
|
|
42
|
+
<div class="small">Tip: Look for the words <em>like</em> or <em>as</em>.</div>
|
|
43
|
+
</section>
|
|
44
|
+
|
|
45
|
+
<section class="card">
|
|
46
|
+
<div class="type">Metaphor</div>
|
|
47
|
+
<div class="small muted">Says one thing <strong>is</strong> another to show similarity.</div>
|
|
48
|
+
<div class="example"><strong>Example:</strong> Time is a thief.</div>
|
|
49
|
+
<div class="small">Tip: No "like" or "as" — it states a direct comparison.</div>
|
|
50
|
+
</section>
|
|
51
|
+
|
|
52
|
+
<section class="card">
|
|
53
|
+
<div class="type">Personification</div>
|
|
54
|
+
<div class="small muted">Gives human qualities to non-human things.</div>
|
|
55
|
+
<div class="example"><strong>Example:</strong> The wind whispered through the trees.</div>
|
|
56
|
+
</section>
|
|
57
|
+
|
|
58
|
+
<section class="card">
|
|
59
|
+
<div class="type">Hyperbole</div>
|
|
60
|
+
<div class="small muted">An extreme exaggeration used for effect.</div>
|
|
61
|
+
<div class="example"><strong>Example:</strong> I'm so hungry I could eat a horse.</div>
|
|
62
|
+
</section>
|
|
63
|
+
|
|
64
|
+
<section class="card">
|
|
65
|
+
<div class="type">Onomatopoeia</div>
|
|
66
|
+
<div class="small muted">A word that imitates a sound.</div>
|
|
67
|
+
<div class="example"><strong>Example:</strong> The bacon sizzled in the pan.</div>
|
|
68
|
+
</section>
|
|
69
|
+
|
|
70
|
+
<section class="card">
|
|
71
|
+
<div class="type">Alliteration</div>
|
|
72
|
+
<div class="small muted">Repeating the same beginning sound in nearby words.</div>
|
|
73
|
+
<div class="example"><strong>Example:</strong> Sammy sells seashells by the seashore.</div>
|
|
74
|
+
</section>
|
|
75
|
+
|
|
76
|
+
<section class="card">
|
|
77
|
+
<div class="type">Idiom</div>
|
|
78
|
+
<div class="small muted">A phrase whose meaning isn't obvious from the words.</div>
|
|
79
|
+
<div class="example"><strong>Example:</strong> It's raining cats and dogs. (means: it's raining heavily)</div>
|
|
80
|
+
</section>
|
|
81
|
+
</main>
|
|
82
|
+
|
|
83
|
+
<section style="margin-top:1rem" class="card">
|
|
84
|
+
<h2 style="margin:.25rem 0">Quick Practice</h2>
|
|
85
|
+
<p class="muted small">Click a sentence to identify which figurative language it uses.</p>
|
|
86
|
+
|
|
87
|
+
<div id="sentences" style="display:grid;gap:.5rem;margin-top:.5rem">
|
|
88
|
+
<button class="small" data-type="simile">1. The night was as black as coal.</button>
|
|
89
|
+
<button class="small" data-type="metaphor">2. My brother is a walking encyclopedia.</button>
|
|
90
|
+
<button class="small" data-type="personification">3. The sun smiled down on us.</button>
|
|
91
|
+
<button class="small" data-type="hyperbole">4. I've told you a million times.</button>
|
|
92
|
+
<button class="small" data-type="onomatopoeia">5. The door creaked open slowly.</button>
|
|
93
|
+
<button class="small" data-type="alliteration">6. Peter Piper picked a peck of pickled peppers.</button>
|
|
94
|
+
<button class="small" data-type="idiom">7. She spilled the beans about the surprise.</button>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<p id="result" class="muted small" style="margin-top:.75rem">Click a sentence above to check the answer.</p>
|
|
98
|
+
|
|
99
|
+
<div style="margin-top:.75rem;display:flex;gap:.5rem;align-items:center">
|
|
100
|
+
<button id="show-answers">Show all answers</button>
|
|
101
|
+
<button id="reset" style="background:#ef4444">Reset</button>
|
|
102
|
+
</div>
|
|
103
|
+
</section>
|
|
104
|
+
|
|
105
|
+
<section style="margin-top:1rem" class="card">
|
|
106
|
+
<h2 style="margin:.25rem 0">Mini challenge</h2>
|
|
107
|
+
<p class="muted small">Write one sentence of your own for any type of figurative language. Try to be creative!</p>
|
|
108
|
+
<textarea id="user-sentence" rows="3" style="width:100%;padding:.5rem;margin-top:.5rem;border-radius:8px;border:1px solid #e6e6e6"></textarea>
|
|
109
|
+
<div style="display:flex;gap:.5rem;margin-top:.5rem">
|
|
110
|
+
<button id="save">Save sentence</button>
|
|
111
|
+
<button id="clear" style="background:#ef4444">Clear</button>
|
|
112
|
+
</div>
|
|
113
|
+
<p id="saved" class="muted small" style="margin-top:.5rem">No sentence saved.</p>
|
|
114
|
+
</section>
|
|
115
|
+
|
|
116
|
+
<footer>
|
|
117
|
+
Tip: Print this page for offline practice (use your browser's Print command).
|
|
118
|
+
</footer>
|
|
119
|
+
</div>
|
|
120
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
|
121
|
+
|
|
122
|
+
<script>
|
|
123
|
+
const answers = {
|
|
124
|
+
1: 'Simile',
|
|
125
|
+
2: 'Metaphor',
|
|
126
|
+
3: 'Personification',
|
|
127
|
+
4: 'Hyperbole',
|
|
128
|
+
5: 'Onomatopoeia',
|
|
129
|
+
6: 'Alliteration',
|
|
130
|
+
7: 'Idiom'
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
document.querySelectorAll('#sentences button').forEach((btn, idx) => {
|
|
134
|
+
btn.addEventListener('click', () => {
|
|
135
|
+
const correct = answers[idx+1];
|
|
136
|
+
document.getElementById('result').textContent = `Answer: ${correct}`;
|
|
137
|
+
btn.style.outline = '3px solid rgba(37,99,235,0.12)';
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
document.getElementById('show-answers').addEventListener('click', () => {
|
|
142
|
+
document.getElementById('result').innerHTML = Object.keys(answers).map(k => `${k}. ${answers[k]}`).join('<br>');
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
document.getElementById('reset').addEventListener('click', () => {
|
|
146
|
+
document.getElementById('result').textContent = 'Click a sentence above to check the answer.';
|
|
147
|
+
document.querySelectorAll('#sentences button').forEach(b => b.style.outline = 'none');
|
|
148
|
+
});
|
|
149
|
+
|
|
150
|
+
const saveBtn = document.getElementById('save');
|
|
151
|
+
const clearBtn = document.getElementById('clear');
|
|
152
|
+
const savedP = document.getElementById('saved');
|
|
153
|
+
saveBtn.addEventListener('click', () => {
|
|
154
|
+
const t = document.getElementById('user-sentence').value.trim();
|
|
155
|
+
if(!t) { savedP.textContent = 'Please write a sentence first.'; return }
|
|
156
|
+
localStorage.setItem('myFigSentence', t);
|
|
157
|
+
savedP.textContent = 'Saved: ' + t;
|
|
158
|
+
});
|
|
159
|
+
clearBtn.addEventListener('click', () => {
|
|
160
|
+
document.getElementById('user-sentence').value = '';
|
|
161
|
+
localStorage.removeItem('myFigSentence');
|
|
162
|
+
savedP.textContent = 'No sentence saved.';
|
|
163
|
+
});
|
|
164
|
+
</script>
|
|
165
|
+
<script src="https://cdn.jsdelivr.net/npm/@arcade-v/arcade_v/navigation/games/loadsite.js"></script>
|
|
166
|
+
</body>
|
|
167
|
+
</html>
|
|
168
|
+
|
|
169
|
+
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Interactive Geometry Quiz</title>
|
|
7
|
+
<style>
|
|
8
|
+
body {
|
|
9
|
+
font-family: Arial, sans-serif;
|
|
10
|
+
background: #f0f8ff;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
color: #333;
|
|
14
|
+
}
|
|
15
|
+
header {
|
|
16
|
+
background: #4CAF50;
|
|
17
|
+
color: white;
|
|
18
|
+
text-align: center;
|
|
19
|
+
padding: 1rem 0;
|
|
20
|
+
}
|
|
21
|
+
section {
|
|
22
|
+
padding: 20px;
|
|
23
|
+
margin: 15px auto;
|
|
24
|
+
max-width: 800px;
|
|
25
|
+
background: #fff;
|
|
26
|
+
border-radius: 10px;
|
|
27
|
+
box-shadow: 0 0 10px rgba(0,0,0,0.1);
|
|
28
|
+
}
|
|
29
|
+
h2 {
|
|
30
|
+
color: #4CAF50;
|
|
31
|
+
}
|
|
32
|
+
ul li {
|
|
33
|
+
margin: 8px 0;
|
|
34
|
+
transition: transform 0.3s, color 0.3s;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
|
37
|
+
ul li:hover {
|
|
38
|
+
transform: scale(1.1);
|
|
39
|
+
color: #ff5722;
|
|
40
|
+
}
|
|
41
|
+
img {
|
|
42
|
+
max-width: 100%;
|
|
43
|
+
height: auto;
|
|
44
|
+
display: block;
|
|
45
|
+
margin: 10px auto;
|
|
46
|
+
border-radius: 10px;
|
|
47
|
+
transition: transform 0.3s;
|
|
48
|
+
}
|
|
49
|
+
img:hover {
|
|
50
|
+
transform: rotate(10deg) scale(1.05);
|
|
51
|
+
}
|
|
52
|
+
button {
|
|
53
|
+
background: #4CAF50;
|
|
54
|
+
color: white;
|
|
55
|
+
border: none;
|
|
56
|
+
padding: 10px 15px;
|
|
57
|
+
border-radius: 5px;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
margin: 5px 5px 5px 0;
|
|
60
|
+
}
|
|
61
|
+
button:hover {
|
|
62
|
+
background: #45a049;
|
|
63
|
+
}
|
|
64
|
+
footer {
|
|
65
|
+
text-align: center;
|
|
66
|
+
padding: 10px;
|
|
67
|
+
background: #ddd;
|
|
68
|
+
margin-top: 20px;
|
|
69
|
+
}
|
|
70
|
+
.quiz-question {
|
|
71
|
+
margin: 15px 0;
|
|
72
|
+
}
|
|
73
|
+
.result {
|
|
74
|
+
margin-top: 15px;
|
|
75
|
+
font-weight: bold;
|
|
76
|
+
}
|
|
77
|
+
</style>
|
|
78
|
+
</head>
|
|
79
|
+
<body>
|
|
80
|
+
|
|
81
|
+
<header>
|
|
82
|
+
<h1>Interactive Geometry Quiz</h1>
|
|
83
|
+
</header>
|
|
84
|
+
|
|
85
|
+
<section>
|
|
86
|
+
<h2>What is Geometry?</h2>
|
|
87
|
+
<p>Geometry is a branch of mathematics that studies shapes, sizes, and the properties of space. It includes points, lines, angles, surfaces, and solids.</p>
|
|
88
|
+
</section>
|
|
89
|
+
|
|
90
|
+
<section>
|
|
91
|
+
<h2>Types of Shapes</h2>
|
|
92
|
+
<ul>
|
|
93
|
+
<li><strong>Circle:</strong> All points equidistant from the center.</li>
|
|
94
|
+
<li><strong>Triangle:</strong> Three-sided polygon.</li>
|
|
95
|
+
<li><strong>Square:</strong> Four-sided polygon with equal sides and angles.</li>
|
|
96
|
+
<li><strong>Rectangle:</strong> Four-sided polygon with opposite sides equal.</li>
|
|
97
|
+
<li><strong>Polygon:</strong> Closed shape with three or more straight sides.</li>
|
|
98
|
+
</ul>
|
|
99
|
+
</section>
|
|
100
|
+
|
|
101
|
+
<section>
|
|
102
|
+
<h2>Examples of Shapes</h2>
|
|
103
|
+
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Basic_geometric_shapes.svg/600px-Basic_geometric_shapes.svg.png" alt="Geometric Shapes">
|
|
104
|
+
</section>
|
|
105
|
+
|
|
106
|
+
<section>
|
|
107
|
+
<h2>Quick Quiz</h2>
|
|
108
|
+
<div class="quiz-question" data-answer="5">
|
|
109
|
+
<p>1. How many sides does a pentagon have?</p>
|
|
110
|
+
<button onclick="selectAnswer(this, '5')">4</button>
|
|
111
|
+
<button onclick="selectAnswer(this, '5')">5</button>
|
|
112
|
+
<button onclick="selectAnswer(this, '5')">6</button>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="quiz-question" data-answer="Square">
|
|
115
|
+
<p>2. What shape has all sides equal and all angles 90°?</p>
|
|
116
|
+
<button onclick="selectAnswer(this, 'Square')">Rectangle</button>
|
|
117
|
+
<button onclick="selectAnswer(this, 'Square')">Square</button>
|
|
118
|
+
<button onclick="selectAnswer(this, 'Square')">Triangle</button>
|
|
119
|
+
</div>
|
|
120
|
+
<div class="quiz-question" data-answer="Center">
|
|
121
|
+
<p>3. A circle is defined by points equidistant from what?</p>
|
|
122
|
+
<button onclick="selectAnswer(this, 'Center')">Center</button>
|
|
123
|
+
<button onclick="selectAnswer(this, 'Center')">Edge</button>
|
|
124
|
+
<button onclick="selectAnswer(this, 'Center')">Vertex</button>
|
|
125
|
+
</div>
|
|
126
|
+
<button onclick="showResults()">Show Results</button>
|
|
127
|
+
<div class="result" id="quizResult"></div>
|
|
128
|
+
</section>
|
|
129
|
+
|
|
130
|
+
<footer>
|
|
131
|
+
<p>© 2026 Interactive Geometry</p>
|
|
132
|
+
</footer>
|
|
133
|
+
|
|
134
|
+
<script>
|
|
135
|
+
let userAnswers = {};
|
|
136
|
+
|
|
137
|
+
function selectAnswer(button, correctAnswer) {
|
|
138
|
+
const questionDiv = button.closest('.quiz-question');
|
|
139
|
+
const buttons = questionDiv.querySelectorAll('button');
|
|
140
|
+
|
|
141
|
+
// Reset button colors
|
|
142
|
+
buttons.forEach(btn => btn.style.backgroundColor = "#4CAF50");
|
|
143
|
+
|
|
144
|
+
// Save user selection
|
|
145
|
+
userAnswers[questionDiv.querySelector('p').innerText] = button.innerText;
|
|
146
|
+
|
|
147
|
+
// Highlight selection
|
|
148
|
+
button.style.backgroundColor = "#2196F3";
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
function showResults() {
|
|
152
|
+
const questions = document.querySelectorAll('.quiz-question');
|
|
153
|
+
let score = 0;
|
|
154
|
+
|
|
155
|
+
questions.forEach(q => {
|
|
156
|
+
const correct = q.getAttribute('data-answer');
|
|
157
|
+
const user = userAnswers[q.querySelector('p').innerText];
|
|
158
|
+
if(user === correct) score++;
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
const total = questions.length;
|
|
162
|
+
document.getElementById('quizResult').innerText = `You got ${score} out of ${total} correct!`;
|
|
163
|
+
}
|
|
164
|
+
</script>
|
|
165
|
+
<script src="https://cdn.jsdelivr.net/npm/@arcade-v/arcade_v/navigation/games/loadsite.js"></script>
|
|
166
|
+
</body>
|
|
167
|
+
</html>
|