-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (43 loc) · 2.02 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">
<!-- Google Fonts -->
<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=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<!-- Google Icons -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<!-- CSS -->
<link rel="stylesheet" href="./css/style.css">
<title>Weather App</title>
</head>
<body>
<div class="content-position flex-center">
<div class="container flex-center">
<h1>Simple Weather App</h1>
<form class="search-container js-city-search flex-center w-60">
<input class="search-field js-city-Name" type="text" placeholder="Search for a city">
<button class="submit-button">SUBMIT</button>
</form>
<div class=" error-msg js-error-msg"></div>
<div class="weather-cards-container weather-cards-container--hidden w-60">
<div class="city-weather-cards">
<h2> <pan class="city-name js-city"> </pan> <sup class="city-code js-country"></sup></h2>
<p class="temperature "> <span class="js-temperature"> </span> <sup> ° C </sup> </p>
<img class="weather-icon js-icon" src="./weather-icons-stroke-svg/cloud.svg" alt="Weather Icon">
<p class="weather-description js-condition"></p>
</div>
</div>
</div>
</div>
<div class="confetti-container">
<h3 class="celebrate-text">Let's <button id="confettiButton">Celebrate</button> our second project</h3>
</div>
<!-- Confetti -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
<!-- MY JS -->
<script type="module" src="./js/script.js"></script>
</body>
</html>