-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
171 lines (165 loc) · 5.66 KB
/
index.html
File metadata and controls
171 lines (165 loc) · 5.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="monetag" content="efe773c80263d176ed41d42723f4708c">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Class Notes Viewer</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-color: #eef2f3;
color: #333;
}
header {
background-color: #007bff;
color: white;
text-align: center;
padding: 1.5rem 0;
font-size: 2rem;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
nav {
display: flex;
justify-content: center;
gap: 2rem;
padding: 1rem 0;
background-color: #ffffff;
border-bottom: 1px solid #ddd;
}
nav a {
text-decoration: none;
color: #007bff;
font-size: 1.2rem;
font-weight: bold;
transition: color 0.3s;
}
nav a:hover {
color: #0056b3;
}
.content {
padding: 2rem;
display: flex;
flex-direction: column;
align-items: center;
}
.grade-section {
display: none;
width: 100%;
max-width: 800px;
background: white;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-top: 2rem;
}
.grade-section.active {
display: block;
}
.notes-list {
list-style: none;
padding: 0;
margin: 1rem 0;
}
.notes-list li {
margin: 1rem 0;
display: flex;
align-items: center;
}
.notes-list li img {
width: 32px;
height: 32px;
margin-right: 1rem;
}
.notes-list li a {
text-decoration: none;
color: #007bff;
font-size: 1rem;
font-weight: 500;
transition: color 0.3s;
}
.notes-list li a:hover {
color: #0056b3;
}
</style>
</head>
<body>
<header>
Class Notes Viewer
</header>
<nav>
<a href="#" data-grade="grade-9">Grade 9</a>
<a href="#" data-grade="grade-10">Grade 10</a>
<a href="#" data-grade="grade-11">Grade 11</a>
<a href="#" data-grade="grade-12">Grade 12</a>
</nav>
<div class="content">
<div id="grade-9" class="grade-section">
<h2>Grade 9 Notes</h2>
<ul class="notes-list">
<li>
<img src="https://img.icons8.com/color/48/000000/pdf-2.png" alt="PDF Icon">
<a href="https://drive.google.com/file/d/klklk/view" target="_blank">Math Notes</a>
</li>
<li>
<img src="https://img.icons8.com/color/48/000000/pdf-2.png" alt="PDF Icon">
<a href="https://drive.google.com/file/d/klklk/view" target="_blank">Science Notes</a>
</li>
</ul>
</div>
<div id="grade-10" class="grade-section">
<h2>Grade 10 Notes</h2>
<ul class="notes-list">
<li>
<img src="https://img.icons8.com/color/48/000000/pdf-2.png" alt="PDF Icon">
<a href="https://drive.google.com/file/d/klklk/view" target="_blank">History Notes</a>
</li>
<li>
<img src="https://img.icons8.com/color/48/000000/pdf-2.png" alt="PDF Icon">
<a href="https://drive.google.com/file/d/klklk/view" target="_blank">Geography Notes</a>
</li>
</ul>
</div>
<div id="grade-11" class="grade-section">
<h2>Grade 11 Notes</h2>
<ul class="notes-list">
<li>
<img src="https://img.icons8.com/color/48/000000/pdf-2.png" alt="PDF Icon">
<a href="https://drive.google.com/file/d/klklk/view" target="_blank">Physics Notes</a>
</li>
<li>
<img src="https://img.icons8.com/color/48/000000/pdf-2.png" alt="PDF Icon">
<a href="https://drive.google.com/file/d/klklk/view" target="_blank">Chemistry Notes</a>
</li>
</ul>
</div>
<div id="grade-12" class="grade-section">
<h2>Grade 12 Notes</h2>
<ul class="notes-list">
<li>
<img src="https://img.icons8.com/color/48/000000/pdf-2.png" alt="PDF Icon">
<a href="https://drive.google.com/file/d/klklk/view" target="_blank">Biology Notes</a>
</li>
<li>
<img src="https://img.icons8.com/color/48/000000/pdf-2.png" alt="PDF Icon">
<a href="https://drive.google.com/file/d/klklk/view" target="_blank">English Notes</a>
</li>
</ul>
</div>
</div>
<script>
document.querySelectorAll('nav a').forEach(link => {
link.addEventListener('click', function (event) {
event.preventDefault();
const grade = this.getAttribute('data-grade');
document.querySelectorAll('.grade-section').forEach(section => {
section.classList.remove('active');
});
document.getElementById(grade).classList.add('active');
});
});
</script>
</body>
</html>