-
Notifications
You must be signed in to change notification settings - Fork 0
/
athletes.html
68 lines (68 loc) · 2.3 KB
/
athletes.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Athletes</title>
<meta name="author" content="Mihir Gadgil">
<link rel="stylesheet" href="./css/athletes.css" media="screen">
<script src="https://d3js.org/d3.v5.min.js"></script>
</head>
<body>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="countries.html">Countries</a></li>
<li><a href="athletes.html" class="active">Athletes</a></li>
</ul>
<h1>Athletes</h1>
<div id="olympic-img"><img src="./img/Olympic_rings_without_rims.svg" alt="Olympic_rings_without_rims"></div>
<select name="Country" id="country-selector">
<option value="None">Select a country</option>
</select>
<select name="Sport" id="sport-selector">
<option value="None">Select a sport</option>
</select>
<select name="Athlete" id="athlete-selector">
<option value="None">Select an athlete</option>
</select>
<div class="medals">
<figure id="gold-medal">
<img src="./img/Gold_medal.svg" alt="Gold medal">
<figcaption>0</figcaption>
</figure>
<figure id="silver-medal">
<img src="./img/Silver_medal.svg" alt="Silver medal">
<figcaption>0</figcaption>
</figure>
<figure id="bronze-medal">
<img src="./img/Bronze_medal.svg" alt="Bronze medal">
<figcaption>0</figcaption>
</figure>
</div>
<table id="results">
<tr>
<td>Age (as of latest participation):</td><td id="age"></td>
</tr>
<tr>
<td>Sex:</td><td id="sex"></td>
</tr>
<tr>
<td>Height (as of latest participation):</td><td id="height"></td>
</tr>
<tr>
<td>Weight (average):</td><td id="weight"></td>
</tr>
<tr>
<td>Sports:</td><td id="sports"></td>
</tr>
<tr>
<td>Events:</td><td id="events"></td>
</tr>
<tr>
<td>Years active:</td><td id="years"></td>
</tr>
</table>
<script src="./js/athletes.js"></script>
</body>
</html>