-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
150 lines (135 loc) · 4.99 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="container">
<header id="inputElement">
<div id="citySearch">
<input type="text" id="inputWindow" placeholder="enter city here">
<button id="enterbtn" type="button" onclick="getData()"> ENTER </button>
</div>
<div id="celsius_or_fahrenheit">
<label class="fahrenheit_or_celsius">
<input type="radio" id="celsius" name="celsius_or_fahrenheit" value="celsius" autocomplete="off" checked onclick="updateDisplay()">
Celsius
</label>
<label class="fahrenheit_or_celsius">
<input type="radio" id="fahrenheit" name="celsius_or_fahrenheit" value="fahrenheit" autocomplete="off">
Fahrenheit
</label>
</div>
</header>
<div id="dayTabs">
<button class="days" id="day0" onclick="updateDisplay(0)">
</button>
<button class="days" id="day1" onclick="updateDisplay(1)">
</button>
<button class="days" id="day2" onclick="updateDisplay(2)">
</button>
</div>
<div id="display">
<h1 id="welcomeMessage">Welcome To Noëlle's Weather Page</h1>
<div id="titles">
<div id="location">
<h1 id="locationName"></h1>
</div>
<div id="time">
<p id="date"></p>
<p id="alerts"></p>
</div>
</div>
<div id="temperature">
<div id="tempInfo">
<img id="icon" src="">
<p id="condition"></p>
</div>
<div id="temps">
<p id="lowTemp">Low</p>
<p id="avgTemp">Avg</p>
<p id="highTemp">High</p>
</div>
</div>
</div>
<div id="hourly">
<div class="hours" id="00:00">
<p class="time">Midnight</p>
</div>
<div class="hours" id="01:00">
<p class="time">1 A.M.</p>
</div>
<div class="hours" id="02:00">
<p class="time">2 A.M.</p>
</div>
<div class="hours" id="03:00">
<p class="time">3 A.M.</p>
</div>
<div class="hours" id="04:00">
<p class="time">4 A.M.</p>
</div>
<div class="hours" id="05:00">
<p class="time">5 A.M.</p>
</div>
<div class="hours" id="06:00">
<p class="time">6 A.M.</p>
</div>
<div class="hours" id="07:00">
<p class="time">7 A.M.</p>
</div>
<div class="hours" id="08:00">
<p class="time">8 A.M.</p>
</div>
<div class="hours" id="09:00">
<p class="time">9 A.M.</p>
</div>
<div class="hours" id="10:00">
<p class="time">10 A.M.</p>
</div>
<div class="hours" id="11:00">
<p class="time">11:00 A.M.</p>
</div>
<div class="hours" id="12:00">
<p class="time">Noon</p>
</div>
<div class="hours" id="13:00">
<p class="time">1:00 P.M.</p>
</div>
<div class="hours" id="14:00">
<p class="time">2:00 P.M.</p>
</div>
<div class="hours" id="15:00">
<p class="time">3:00 P.M.</p>
</div>
<div class="hours" id="16:00">
<p class="time">4:00 P.M.</p>
</div>
<div class="hours" id="17:00">
<p class="time">5:00 P.M.</p>
</div>
<div class="hours" id="18:00">
<p class="time">6:00 P.M.</p>
</div>
<div class="hours" id="19:00">
<p class="time">7:00 P.M.</p>
</div>
<div class="hours" id="20:00">
<p class="time">8:00 P.M.</p>
</div>
<div class="hours" id="21:00">
<p class="time">9:00 P.M.</p>
</div>
<div class="hours" id="22:00">
<p class="time">10:00 P.M.</p>
</div>
<div class="hours" id="23:00">
<p class="time">11:00 P.M.</p>
</div>
</div>
<div id = 'resultWindow'>
</div>
<script src="scripts.js"></script>
</body>
</html>