-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (35 loc) · 1.36 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>鳄梨游戏</title>
</head>
<body>
<nav>
<h1>鳄梨游戏</h1>
</nav>
<div id="description">
<h4>Hover over game to show description.</h4>
</div>
<section id="games">
<div class="grid-container">
<button id="parachute" onmouseover="switchDesc('A game where you attempt to drop the bomb on the target. Watch out for the wind!')" onclick="redirect('parachute.html')">
<h1>Parachute</h1>
</button>
<!--<button id="platformer" onmouseover="switchDesc('Jump over platforms, kill enemies, and beat the boss.')" onclick="redirect('platformer/platformer.html')">
<h1>Platformer</h1>
</button>-->
<button id="pingpong" onmouseover="switchDesc('打乒乓球!')" onclick="redirect('pingpong.html')">
<h1>乒乓</h1>
</button>
<!--<button id="asteroids" onmouseover="switchDesc('Destroy asteroids, level up your ship, murder UFOs, and destroy the alien base.')" onclick="redirect('asteroids/asteroids.html')">
<h1>Asteroids</h1>
</button>-->
</div>
</section>
<script src="script.js"></script>
</body>
</html>