forked from Ada-C18/weather-report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (50 loc) · 1.74 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
<!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 href="styles/index.css" rel="stylesheet">
</head>
<body>
<header class="heade__header">
<h1> Weather Forecast</h1>
<span>
For the city of
<span id="headerCityName" class="header__city-name">Seattle</span>
</span>
</header>
<section class="temperature__section">
<h2>Temperature </h2>
<div class="temperature__content">
<div class="temperature__control">
<span id="increaseTempControl">⬆️</span>
<span id="tempValue" class="teal">45</span>
<span id="decreaseTempControl">⬇️</span>
</div>
<button id="currentTempButton">Get Current Temperature</button>
</div>
</section>
<section class="sky__section">
<h2>sky</h2>
<select id="skySelect">
<option>Sunny</option>
<option>Cloudy</option>
<option>Rainy</option>
<option>Snowy</option>
</select>
</section>
<section class="city-name__section">
<h2> City Name</h2>
<input type="text" id="cityNameInput" value="Seattle">
<button id="cityNameReset" class="city-name__reset-btn">Rest</button>
</section>
<section class="garden__section">
<h2>Weather Garden</h2>
<div id="gardenContent" class="garden__content sunny"></div>
</section>
<script src="./node_modules/axios/dist/axios.min.js"></script>
<script src="src/index.js"></script>
</body>
</html>