-
Notifications
You must be signed in to change notification settings - Fork 527
/
Copy pathindex.html
61 lines (56 loc) · 1.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather Report</title>
<link rel="stylesheet" href="styles/index.css">
<!------------- Font Awesome ------------>
<script src="https://kit.fontawesome.com/dff1440c2f.js" crossorigin="anonymous"></script>
</head>
<body>
<!------------- Header/ Search Box ------------>
<header>
<h1 class="logo">Weather App</h1>
<section class="search">
<input id="search-box" type="text" placeholder="Enter A City">
<button id="search-reset-btn">Reset</button>
</section>
</header>
<main>
<!------------- Temp Box ------------>
<section class="temp-box-container">
<!-- <div class="tempDiv"> -->
<h1 class="h1-temp">Temperature in</h1>
<div class="temp-box-header">
<p id="city-state">Dallas, TX</p>
<button>Get Current Temp</button>
</div>
<div class="temp-and-arrows">
<h1 id="temp">70°</h1>
<div class="temp-arrows">
<i class="fa-solid fa-arrow-up fa-xl" id="arrow-up" ></i>
<i class="fa-solid fa-arrow-down fa-xl" id="arrow-down"></i>
</div>
</div>
<!-- </div> -->
</section>
</main>
<script src="src/index.js"></script>
<script src="./node_modules/axios/dist/axios.min.js"></script>
</body>
<!------------- Sky Section ------------>
<footer class="sky-container">
<section >
<label for="sky">Sky:</label>
<select name="sky" id="cars">
<option value="sunny">Sunny</option>
<option value="cloudy">Cloudy</option>
<option value="rainy">Rainy</option>
<option value="snowy">Snowy</option>
</select>
<button id="sky-reset-btn">Reset</button>
</section>
</footer>
</html>