-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (45 loc) · 1.51 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
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="./styles.css" />
<script src="./script.js" defer></script>
<title>Pokemon Battle Game</title>
<style></style>
</head>
<body>
<main class="main">
<h1 class="main__title">Pokemon Battle Game</h1>
<section class="pokemon">
<div class="pokemon__selection" id="pokemon-select">
<label class="pokemon__label" for="pokemon"
>Choose your Pokemon:</label
>
<select class="pokemon__option" id="pokemon">
<!-- Options will be populated by JavaScript -->
</select>
</div>
<div id="pokemon-select">
<button onclick="selectUserPokemon()">Select Your Pokemon</button>
<button onclick="selectEnemyPokemon()">Select Enemy Pokemon</button>
</div>
</section>
<section id="battle-area">
<div id="user-pokemon-container"></div>
<div id="battle-container">
<button class="battle-button" onclick="startBattle()">
Start Battle
</button>
<div class="battle-result"></div>
<button class="restart-button">Restart Battle</button>
</div>
<div id="enemy-pokemon-container"></div>
</section>
</main>
</body>
</html>