-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
141 lines (119 loc) · 3.98 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<title>One Page News</title>
</head>
<body>
<div class="signInContainer">
<div class="form-container">
<form id="sign-in" style="">
<h1>Hi! Please provide your name and zipcode</h1>
<input id="input-name" type="text" name="name" value="" placeholder="Enter Name" required>
<br></br>
<input id="input-zipcode" type="text" pattern="\d{5}" maxlength="5" minlength="5" name="zipcode" value="" placeholder="Enter Zipcode" required>
<br></br>
<input id= 'create-button' type="submit" name="submit" value="Lets Get Started!" class="submit">
</form>
</div>
</div>
<div class="header">
<h1>One Page News</h1>
</div>
<div class="row">
<div class="column left">
<div class="weatherheader">
<h4>Weather</h4>
</div>
<div class=weather>
<h5 class="w" id="current-day"></h5>
<p class="w"id="current-weather"></p><p id="current-temperature"></p>
<img class="w" src="http://openweathermap.org/img/wn/[email protected]" id="weather-icon">
<h5> Weekly Forecast </h5>
<table id="weather-forecast"->
<tr>
<th id="day-2"></th>
<td><img class="table-icon" id="day2Img"></img></td>
<td id="day-2-fc"></td>
<td id="day-2-t"></td>
</tr>
<tr>
<th id="day-3"></th>
<td><img class="table-icon" id="day3Img"></img></td>
<td id="day-3-fc"></td>
<td id="day-3-t"></td>
</tr>
<tr>
<th id="day-4"></th>
<td><img class="table-icon" id="day4Img"></img></td>
<td id="day-4-fc"></td>
<td id="day-4-t"></td>
</tr>
<tr>
<th id="day-5"></th>
<td><img class="table-icon" id="day5Img"></img></td>
<td id="day-5-fc"></td>
<td id="day-5-t"></td>
</tr>
<tr>
<th id="day-6"></th>
<td><img class="table-icon" id="day6Img"></img></td>
<td id="day-6-fc"></td>
<td id="day-6-t"></td>
</tr>
<tr>
<th id="day-7"></th>
<td><img class="table-icon" id="day7Img"></img></td>
<td id="day-7-fc"></td>
<td id="day-7-t"></td>
</tr>
</table>
</div>
</div>
<div class="column middle">
<div class="middleheader">
<div class="topnav" id="myTopnav">
<a class="button" href="#home" >All News</a>
<a class="button" onclick= href="#news">Health</a>
<a class="button" onclick="" href="#news">Science</a>
<a class="button" onclick="" href="#news">Entertainment</a>
<a class="button" onclick="" href="#news">Business</a>
</div>
<div class="topnav" id="toggledBar">
<a id="indextog" href="#home" >All News</a>
<a onclick="toggleDisplay()" href="#news">Go Back</a>
</div>
</div>
<div class="middleContent">
<div id="articles">
</div>
</div>
<div class="column toggle">
<h2>Article Title</h2>
<img>
<p>article body</p>
</div>
</div>
<div class="column right">
<div class="pinnedheader">
<h4>Favorited!</h4>
</div>
<div class="rowright">
</div>
<div class="rowright">
</div>
<div class="rowright">
</div>
</div>
</div>
<div class="footer">
<div class="hwrap"><div class="hmove">
<div class="hitem">Today's Top Headlines</div>
</div></div>
</div>
<script type="text/javascript" src=src/index.js></script>
<script type="text/javascript" src="src/date-en-US.js"></script>
<script type="text/javascript" src="src/article.js"></script>
</body>
</html>