-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathstarting_page.html
70 lines (66 loc) · 2.35 KB
/
starting_page.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
<!DOCTYPE html>
<html>
<head>
<title>Starting Page</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<h1 class="heading"><center>Welcome to the Worst Site Ever</center></h1>
<header>
<h1>Gallery of Forgotten Memes</h1>
</header>
<section class="meme-gallery">
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme1.jpg" alt="Meme 1" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme2.jpeg" alt="Meme 2" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme3.webp" alt="Meme 3" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme4.jpeg" alt="Meme 4" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme5.jpg" alt="Meme 5" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme6.jpg" alt="Meme 6" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme7.jpeg" alt="Meme 7" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme8.webp" alt="Meme 8" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme9.webp" alt="Meme 9" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme10.jpeg" alt="Meme 10" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme11.jpg" alt="Meme 11" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme 12.jpg" alt="Meme 12" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme13.jpg" alt="Meme 13" />
</div>
<div class="meme" onmouseleave="shakeMeme(this)">
<img src="./images/Meme14.jpg" alt="Meme 14" />
</div>
</section>
<script>
function shakeMeme(meme) {
meme.classList.add("shake");
setTimeout(() => {
meme.classList.remove("shake");
}, 800); // Adjust the duration of the shake animation (in milliseconds) if needed
}
window.onload = startTimer;
</script>
</body>
</html>