-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathcounting.html
182 lines (172 loc) · 6.27 KB
/
counting.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="DALL·E 2024-08-28 12.19.31 - A clean and moderately detailed logo for a Sanskrit education website. T.webp">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>मातृबोधः</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="animations.css">
<link rel="stylesheet" href="scontentcss.css">
<link rel="stylesheet" href="counting.css">
<link rel="stylesheet" href="footercss.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
<header>
<nav>
<!-- Wrap the logo text in an anchor tag -->
<a href="index.html" class="logo">मातृबोधः</a>
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="#wisdom">About</a></li>
<li class="dropdown">
<a href="#">Content</a>
<ul class="dropdown-content">
<li><a href="countingpage.html">Counting</a></li>
<li><a href="#">Days</a></li>
<li><a href="activities.html">Activities</a></li>
<li><a href="feedback.html">Feedback</a></li>
</ul>
</li>
<li><a href="login.html">Login</a></li>
<li><a href="faq.html">FAQ</a></li>
<li><a href="contact.html" >Contact</a></li>
</ul>
<div class="toggle-menu">☰</div>
</nav>
</header>
<div class="game-container"></div>
<!-- Lotus buttons will be dynamically added here -->
</div>
<div class="counting">
<h2>Counting Practice</h2>
<p>Practice counting here...</p>
</div>
<!-- Updated Footer Section -->
<footer class="main-footer">
<div class="footer-content">
<div class="footer-section">
<h3>मातृबोधः</h3>
<p>
Educating children through India's timeless wisdom and cultural
heritage.
</p>
<div class="social-links">
<a
href="https://github.com/Anjaliavv51/Matrubodhah"
target="_blank"
aria-label="Facebook"
><i class="fab fa-facebook"></i
></a>
<a
href="https://github.com/Anjaliavv51/Matrubodhah"
target="_blank"
aria-label="Twitter"
><i class="fab fa-twitter"></i
></a>
<a
href="https://github.com/Anjaliavv51/Matrubodhah"
target="_blank"
aria-label="Instagram"
><i class="fab fa-instagram"></i
></a>
<a
href="https://github.com/Anjaliavv51/Matrubodhah"
target="_blank"
aria-label="YouTube"
><i class="fab fa-youtube"></i
></a>
<a
href="https://github.com/Anjaliavv51/Matrubodhah"
target="_blank"
aria-label="Linkedin"
><i class="fa-brands fa-linkedin-in"></i
></a>
</div>
<!-- GitHub Star Button -->
<div class="github-star">
<a href="https://github.com/Anjaliavv51/Matrubodhah" target="_blank">
<i class="fab fa-github"></i> Star on GitHub
</a>
</div>
</div>
<div class="footer-section">
<h4>Quick Links <div class="underline"><span></span></div></h4>
<ul>
<li><a href="#hero">Home</a></li>
<li><a href="#wisdom">About Us</a></li>
<li><a href="#content">Our Courses</a></li>
<li><a href="#hero">Contact</a></li>
</ul>
</div>
<div class="footer-section">
<h4>Learning Paths <div class="underline"><span></span></div></h4>
<ul>
<li><a href="countingpage.html">Counting</a></li>
<li><a href="#hero">Days</a></li>
<li><a href="#hero">Activities</a></li>
</ul>
</div>
<div class="footer-section">
<h4>Newsletter <div class="underline"><span></span></div></h4>
<form>
<i class="fas fa-envelope"></i>
<input type="email" placeholder="Enter your email id" required>
<button type="submit"><i class="fas fa-arrow-right"></i></button>
</form>
<br>
<h4>Contact Us <div class="underline"><span></span></div></h4>
<ul class="contact-info">
<li>
<i class="fas fa-envelope"></i
><a href="mailto:[email protected]">[email protected]</a>
</li>
<li><i class="fas fa-map-marker-alt"></i><span>India</span></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>
© 2024 मातृबोधः. Made with <span class="heart">❤️</span> by
<a href="https://github.com/Anjaliavv51/Matrubodhah" target="_blank"
>@Sakthi</a
>
</p>
</div>
</footer>
<script src="scrollscript.js"></script>
<script src="audio.js"></script>
<script>
const gameContainer = document.querySelector('.game-container');
const blast = document.querySelector('.blast');
function createLotus(number) {
const lotus = document.createElement('div');
lotus.className = 'lotus';
lotus.innerHTML = `
<div class="petal" style="transform: rotate(0deg)"></div>
<div class="petal" style="transform: rotate(72deg)"></div>
<div class="petal" style="transform: rotate(144deg)"></div>
<div class="petal" style="transform: rotate(216deg)"></div>
<div class="petal" style="transform: rotate(288deg)"></div>
${number}
`;
lotus.addEventListener('click', () => {
lotus.classList.add('open');
setTimeout(() => {
blast.classList.add('show');
setTimeout(() => {
blast.classList.remove('show');
lotus.classList.remove('open');
}, 1500);
}, 300);
});
return lotus;
}
for (let i = 1; i <= 10; i++) {
gameContainer.appendChild(createLotus(i));
}
</script>
<script src="index.js"></script>
</body>
</html>