-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (57 loc) · 2.12 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather page</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<section class="mainSection">
<div class="container">
<div class="card c1">
<p>Weather</p>
<h1 class="cardHead" id="weatherType">1</h1>
<p>Temparature</p>
<h1 class="cardHead" id="tempSelector">1</h1>
</div>
<div class="card c2">
<p class="inputPlaceholder">Enter your city</p>
<div class="inputSection">
<input id="cityName" type="text" class="inputCity" placeholder="Type here">
<button onclick="parseJson()" class="getWeather">Get Weather</button>
</div>
</div>
<div class="card c3">
<p>Wind direction</p>
<div class="circleContainer">
<p class="direction">N</p>
<div class="circle" id="windDirction">
<div class="arrow"></div>
</div>
<div class="windSpeedContainer">
<p>Speed</p>
<p class="ispidText" id="ispidValue">null</p>
<div class="speedContainer">
<div class="speed" id="ispid"></div>
</div>
</div>
</div>
</div>
<div class="card c4">
<p>Country</p>
<h1 class="cardHead" id="country">N/A</h1>
</div>
<div class="card c5">
<div onclick="toggleOn()" class="switch" id="switch">
<div class="toggle" id="tgl"><p id="tempType">C</p></div>
</div>
</div>
<div class="card cardBtn">
<a href="https://epicX67.github.io">About</a>
</div>
</div>
</section>
</body>
<script src="main.js"></script>
</html>