-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
274 lines (264 loc) · 13.5 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" href="stylesheet.css">
<span style="font-family: Roboto;"></span>
<title>Responsive Email Modules</title>
</head>
<body>
<!--NAVIGATION-->
<nav>
<ul class="nav-ul">
<li><a class="active" href="index.html">Home</a></li>
<li><a href="index.html#cta">Calls to Action</a></li>
<li><a href="quiz.html">Interactive</a></li>
<li><a href="sample.html">Sample Email</a></li>
<li><a href="module.html">Creator</a></li>
</ul>
</nav>
<!--HERO-->
<div class="hero">
<h1>Responsive Email Modules</h1>
<table align="center" cellspacing="10">
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" style="border-radius: 5px;" bgcolor="#e9703e" class="bg-orange">
<a href="sample.html" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #e9703e; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Check out a sample email!</font></a>
</td>
</tr>
</tbody></table>
</td>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" style="border-radius: 5px;" bgcolor="#e9703e" class="bg-orange">
<a href="module.html" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #e9703e; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Make a module!</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
</table>
</div>
<main>
<!--CALL TO ACTION-->
<section id="cta">
<h2>Calls to Action</h2>
<div class="grid-container">
<!--Grey background, orange button-->
<div style="background: #EEEEEE">
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#EEEEEE">
<tbody>
<tr><td> </td></tr>
<!--Title-->
<tr>
<td align="center" style="font-size:24px; font-weight:700">
<font face="'Roboto', Arial, sans-serif">
Don't miss an America Counts story!</font></td>
</tr>
<!--Description-->
<tr>
<td align="center" style="font-size:16px; font-weight:300">
<font face="'Roboto', Arial, sans-serif">
Stay in the know about the stories behind the numbers.</font></td>
</tr>
<!--Call to Action-->
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td align="center" style="border-radius: 5px;" bgcolor="#e9703e" class="bg-orange">
<a href="https://public.govdelivery.com/accounts/USCENSUS/subscriber/new" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #e9703e; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Subscribe Here</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr><td> </td></tr>
</tbody>
</table>
</div>
<!--Aqua background, navy button-->
<div style="background: #4093A5">
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#4093A5">
<tbody>
<tr><td> </td></tr>
<!--Title-->
<tr>
<td align="center" style="font-size:24px; font-weight:700; color: #ffffff;">
<font face="'Roboto', Arial, sans-serif">
Don't miss an America Counts story!</font></td>
</tr>
<!--Description-->
<tr>
<td align="center" style="font-size:16px; font-weight:300; color: #ffffff">
<font face="'Roboto', Arial, sans-serif">
Stay in the know about the stories behind the numbers.</font></td>
</tr>
<!--Call to Action-->
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td align="center" style="border-radius: 5px;" bgcolor="#182E4E" class="bg-navy">
<a href="https://public.govdelivery.com/accounts/USCENSUS/signup/19707" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #182E4E; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Subscribe Here</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr><td> </td></tr>
</tbody>
</table>
</div>
<!--Navy background, orange button-->
<div style="background: #182E4E">
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#182E4E">
<tbody>
<tr><td> </td></tr>
<!--Title-->
<tr>
<td align="center" style="font-size:24px; font-weight:700; color: #ffffff;">
<font face="'Roboto', Arial, sans-serif">
Don't miss an America Counts story!</font></td>
</tr>
<!--Description-->
<tr>
<td align="center" style="font-size:16px; font-weight:300; color: #ffffff">
<font face="'Roboto', Arial, sans-serif">
Stay in the know about the stories behind the numbers.</font></td>
</tr>
<!--Call to Action-->
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td align="center" style="border-radius: 5px;" bgcolor="#e9703e" class="bg-orange">
<a href="https://public.govdelivery.com/accounts/USCENSUS/subscriber/new" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #e9703e; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Subscribe Here</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr><td> </td></tr>
</tbody>
</table>
</div>
<!--Grey background, navy button-->
<div style="background: #EEEEEE">
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#EEEEEE">
<tbody>
<tr><td> </td></tr>
<!--Title-->
<tr>
<td align="center" style="font-size:24px; font-weight:700">
<font face="'Roboto', Arial, sans-serif">
Don't miss an America Counts story!</font></td>
</tr>
<!--Description-->
<tr>
<td align="center" style="font-size:16px; font-weight:300">
<font face="'Roboto', Arial, sans-serif">
Stay in the know about the stories behind the numbers.</font></td>
</tr>
<!--Call to Action-->
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td align="center" style="border-radius: 5px;" bgcolor="#182E4E" class="bg-navy">
<a href="https://public.govdelivery.com/accounts/USCENSUS/subscriber/new" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #182E4E; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Subscribe Here</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr><td> </td></tr>
</tbody>
</table>
</div>
</div>
</section>
<!--INTERACTIVE-->
<section id="interactive">
<h2>Interactive</h2>
<h3>Responsive, collapsible icons</h3>
<p>Icons on the left will disappear on mobile devices to provide more space for the readers.</p>
<div style="width: 600px; margin: auto; background: white;">
<div>
<table cellspacing="10" cellpadding="10">
<tr>
<td class="hidden">
<img width="60px" src="https://www.census.gov/content/census/en/data/academy/jcr:content/root/responsivegrid/featureicons.featureicon.1.png/1595368108771.png">
</td>
<td style="text-align: left; font-family: sans-serif;">
<a href="https://www.census.gov/programs-surveys/acs/about.html">The American Community Survey</a> is the premier source for annual socioeconomic data and information about America's changing population, housing, and workforce.
</td>
</tr>
<tr>
<td class="hidden">
<img width="60px" src="https://www.census.gov/content/census/en/data/academy/jcr:content/root/responsivegrid/featureicons.featureicon.3.png/1568054372395.png">
</td>
<td style="text-align: left; font-family: sans-serif;">
<a href="https://www.census.gov/programs-surveys/acs/about.html">The Economic Census</a> measures the nation's economy every 5 years providing vital statistics for every industry and geographic area.
</td>
</tr>
<tr>
<td class="hidden">
<img width="60px" src="https://www.census.gov/content/census/en/data/academy/jcr:content/root/responsivegrid/featureicons.featureicon.2.png/1568054372362.png">
</td>
<td style="text-align: left; font-family: sans-serif;">
<a href="https://www.census.gov/programs-surveys/acs/about.html">National and State Population Estimates</a> utilize current data on births, deaths, and migration to calculate population change and produce time series of estimates of population, demographic components of change, and housing units.
</td>
</tr>
<tr>
<td class="hidden">
<img width="60px" src="https://www.census.gov/content/census/en/data/academy/jcr:content/root/responsivegrid/featureicons_1684181223.featureicon.1.png/1568054372476.png">
</td>
<td style="text-align: left; font-family: sans-serif;">
<a href="https://www.census.gov/programs-surveys/acs/about.html">Income, Poverty, and Health Insurance Coverage</a> are increasingly important in measuring the nation's overall well-being.
</td>
</tr>
</table>
</div>
</div>
</section>
</main>
<script>
document.body.onload = addElement;
function addElement () {
// create a new div element
const newDiv = document.createElement("div");
// and give it some content
const newContent = document.createTextNode("Hi there and greetings!");
// add the text node to the newly created div
newDiv.appendChild(newContent);
// add the newly created element and its content into the DOM
const currentDiv = document.getElementById("div1");
document.body.insertBefore(newDiv, currentDiv);
}
</script>
<!--SCRIPTS-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>