-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
96 lines (92 loc) · 3.32 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;700&display=swap"
rel="stylesheet" />
<title>2024 Olympics | Results</title>
</head>
<body>
<header>
<nav>
<a href="/">
<h1 class="logo-text">OLYMPIC<span>S</span>EARCH</h1>
</a>
<ul class="container menu">
<li><a href="/">Medal Count</a></li>
<li><a href="/events">Olympic Events</a></li>
</ul>
<!-- MOBILE MENU -->
<img src="images/burger.jpg" alt="" class="burger" />
<section class="container col mobile-menu">
<h2>MENU</h2>
<h4><a href="/">Medal Count</a></h4>
<h4><a href="/events">Olympic Events</a></h4>
<h3 class="close">Close</h3>
</section>
</nav>
</header>
<main>
<section class="homepage">
<div class="homepage__text">
<h1>Get the latest results from the 2024 Olympics</h1>
</div>
<!-- TOP 3 -->
<section class="container leaders">
<div class="container col">
<h2 class="medals">Top Countries</h2>
<section class="container">
<div class="container col gold">
<img src="" class="gold-flag"></img>
<h1>🥇</h1>
<h3 class="gold-TMC"></h3>
</div>
<div class="container col silver">
<img src="" class="silver-flag"></img>
<h1>🥈</h1>
<h3 class="silver-TMC"></h3>
</div>
<div class="container col bronze">
<img src="" class="bronze-flag"></hi>
<h1>🥉</h1>
<h3 class="bronze-TMC"></h3>
</div>
</section>
<!-- SEARCH BUTTONS | INPUT -->
<section class="container col">
<button id="leaderboard">Top 50 Leaderboard</button>
<button id="olympic-events" onclick="window.location.href='events'">Olympic Events</a></button>
<div class="homepage__query">
<p class="code-link"><a href="https://eapis.cbp.dhs.gov/eapis-enroll/countryCodes.do" target="_blank">Find
your country code</a></p>
<label for="search"></label>
<input type="text" name="search" id="search-field" placeholder="Country Code">
<button class="search" id="search-btn">Search</button>
<p class="alert"></p>
</div>
</section>
</div>
</section>
<!-- COUNTRY CARD -->
<div class="homepage__display">
<div class="container col country-card hidden">
<img src="" class="query-country">
<h1 class="country-name"></h1>
<div class="container">
<h4 class="query-gold"></h4>
<h4 class="query-silver"></h4>
<h4 class="query-bronze"></h4>
</div>
<h3 class="query-total-medals"></h3>
</div>
</div>
</section>
</main>
<script src="js/main.js"></script>
</body>
</html>