-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage2.html
More file actions
195 lines (166 loc) · 5.76 KB
/
page2.html
File metadata and controls
195 lines (166 loc) · 5.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NEETprep - Subjects</title>
<!-- Font -->
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
font-family: 'Montserrat', sans-serif;
background: linear-gradient(to bottom right, #ffffff, #eaf2ff);
}
h1 {
text-align: center;
color: #1e3a8a;
margin-top: 30px;
}
.subjects {
display: flex;
justify-content: center;
gap: 30px;
margin: 40px;
flex-wrap: wrap;
}
.card {
background: white;
border: 2px solid #2563eb;
padding: 30px;
width: 200px;
text-align: center;
border-radius: 12px;
cursor: pointer;
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
transition: 0.3s;
}
.card:hover {
background: #2563eb;
color: white;
}
.chapters {
display: none;
padding: 20px;
max-width: 800px;
margin: auto;
}
.chapters h2 {
color: #1e3a8a;
}
ul {
list-style: none;
padding: 0;
}
li {
background: white;
margin: 10px 0;
padding: 12px;
border-radius: 8px;
border: 1px solid #2563eb;
cursor: pointer;
transition: 0.2s;
}
li:hover {
background: #2563eb;
color: white;
}
</style>
</head>
<body>
<h1>Select a Subject</h1>
<div class="subjects">
<div class="card" onclick="showChapters('physics')">Physics ⚡</div>
<div class="card" onclick="showChapters('chemistry')">Chemistry 🧪</div>
<div class="card" onclick="showChapters('biology')">Biology 🌱</div>
</div>
<!-- Chapters Section -->
<div id="chapters" class="chapters"></div>
<script>
function showChapters(subject) {
const chaptersDiv = document.getElementById("chapters");
let content = "";
if (subject === "physics") {
content = `
<h2>Physics (Class 11 & 12)</h2>
<ul>
<li>Units and Measurements</li>
<li>Kinematics</li>
<li>Laws of Motion</li>
<li>Work, Energy and Power</li>
<li>Thermodynamics</li>
<li>Oscillations and Waves</li>
<li>Electrostatics</li>
<li>Current Electricity</li>
<li>Magnetism</li>
<li>Optics</li>
</ul>`;
}
else if (subject === "chemistry") {
content = `
<h2>Chemistry (Class 11 & 12)</h2>
<ul>
<li>Atomic Structure</li>
<li>Periodic Table</li>
<li>Chemical Bonding</li>
<li>Thermodynamics</li>
<li>Equilibrium</li>
<li>Organic Chemistry Basics</li>
<li>Hydrocarbons</li>
<li>Solutions</li>
<li>Electrochemistry</li>
<li>Biomolecules</li>
</ul>`;
}
else if (subject === "biology") {
content = `
<h2>Biology</h2>
<h3>Class 11</h3>
<ul>
<li>Chapter 1: The Living World</li>
<li>Chapter 2: Biological Classification</li>
<li>Chapter 3: Plant Kingdom</li>
<li>Chapter 4: Animal Kingdom</li>
<li>Chapter 5: Morphology of Flowering Plants</li>
<li>Chapter 6: Anatomy of Flowering Plants</li>
<li>Chapter 7: Structural Organisation in Animals</li>
<li>Chapter 8: Cell: The Unit of Life</li>
<li>Chapter 9: Biomolecules</li>
<li>Chapter 10: Cell Cycle and Cell Division</li>
<li>Chapter 11: Transport in Plants</li>
<li>Chapter 12: Mineral Nutrition</li>
<li>Chapter 13: Photosynthesis in Higher Plants</li>
<li>Chapter 14: Respiration in Plants</li>
<li>Chapter 15: Plant Growth and Development</li>
<li>Chapter 16: Digestion and Absorption</li>
<li>Chapter 17: Breathing and Exchange of Gases</li>
<li>Chapter 18: Body Fluids and Circulation</li>
<li>Chapter 19: Excretory Products and their Elimination</li>
<li>Chapter 20: Locomotion and Movement</li>
<li>Chapter 21: Neural Control and Coordination</li>
<li>Chapter 22: Chemical Coordination and Integration</li>
</ul>
<h3>Class 12</h3>
<ul>
<li>Chapter 1: Sexual Reproduction in Flowering Plants</li>
<li>Chapter 2: Human Reproduction</li>
<li>Chapter 3: Reproductive Health</li>
<li>Chapter 4: Principles of Inheritance and Variation</li>
<li>Chapter 5: Molecular Basis of Inheritance</li>
<li>Chapter 6: Evolution</li>
<li>Chapter 7: Human Health and Disease</li>
<li>Chapter 8: Microbes in Human Welfare</li>
<li>Chapter 9: Biotechnology – Principles and Processes</li>
<li>Chapter 10: Biotechnology and its Applications</li>
<li>Chapter 11: Organisms and Populations</li>
<li>Chapter 12: Ecosystem</li>
<li>Chapter 13: Biodiversity and Conservation</li>
</ul>
`;
}
chaptersDiv.innerHTML = content;
chaptersDiv.style.display = "block";
}
</script>
</body>
</html>