-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (27 loc) · 1.03 KB
/
Copy pathindex.html
File metadata and controls
31 lines (27 loc) · 1.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>War Statistics Display</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>War Statistics Display</h1>
<!-- Instructions for selecting a war -->
<p>Please select a war from the dropdown menu to view the statistics.</p>
<!-- Dropdown for selecting war -->
<select id="war-select" onchange="updateCounter()">
<option value="">Select a War</option>
<!-- Add options dynamically using JavaScript -->
</select>
<!-- Display the selected war name, deaths, and combatants -->
<h2 id="war-name">War: Select a War</h2>
<div id="counter">Deaths: 0</div>
<h3 id="combatants">Combatants: </h3>
</div>
<!-- Link to External JavaScript File -->
<script src="script.js"></script>
</body>
</html>