-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
124 lines (103 loc) · 5.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="https://fonts.googleapis.com/css?family=Merriweather&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Subscribe to our Newsletter!</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<header>
<h1>The Code Review</h1>
</header>
<div class="form">
<h2>Signup for our newsletter</h2>
<p>Get the latest news on how your code is doing right in your inbox</p>
<form action="index.html" method="post">
<fieldset id="user-bio">
<legend id="Contact">Contact Information</legend>
<div class="flex">
<label for="name">Full Name</label>
<input type="text" id="name" name="user_name" placeholder="Required" required>
</div>
<div class="flex">
<label for="mail">Email Address</label>
<input type="email" id="mail" name="user_email" placeholder="Required" required>
</div>
<div class="flex">
<label for="tel">Phone Number</label>
<input type="tel" id="tel" name="user_tel" placeholder="Required" required>
</div>
<div class="flex">
<label for="address">Street Address</label>
<input type="text" id="address" name="user_address">
</div>
<div class="flex">
<label for="city">City</label>
<input type="text" id="city" name="user_city">
</div>
<div class="flex">
<label for="state">State</label>
<select id="state" name="user_state">
<optgroup label="MW Malawi">
<option value="CH">Chitipa</option>
<option value="KA">Karonga</option>
<option value="LA">Likoma</option>
<option value="MZ">Mzimba</option>
<option value="NB">Nkhata-bay</option>
<option value="RI">Rumphi</option>
<option value="DZ">Dedza</option>
<option value="DA">Dowa</option>
<option value="KU">Kasungu</option>
<option value="LL">Lilongwe</option>
<option value="MJ">Mchinji</option>
<option value="NA">Nkhotakota</option>
<option value="NU">Ntcheu</option>
<option value="NS">Ntchisi</option>
<option value="SA">Salima</option>
<option value="BL">Balaka</option>
<option value="BT">Blantyre</option>
<option value="CK">Chikwawa</option>
<option value="CU">Chiradzulu</option>
<option value="MA">Machinga</option>
<option value="MG">Mangochi</option>
<option value="MU">Mulanje</option>
<option value="MW">Mwanza</option>
<option value="NS">Nsanje</option>
<option value="TL">Thyolo</option>
<option value="PL">Phalombe</option>
<option value="ZA">Zomba</option>
<option value="NE">Neno</option>
</optgroup>
</select><br>
</div>
<div class="flex">
<label for="zipcode">Zip Code</label>
<input type="text" id="zipcode" name="user_zipcode" pattern="[0-9]*">
</div>
</fieldset>
<!-- User bio -->
<fieldset id="newsletter_info">
<legend id="newsletter">Newsletter</legend>
<label>Select the newsletter you would like to receive</label><br>
<input type="checkbox" id="html_news" value="html_newsletter" name="user_newsletter"><label for="html_news">HTML News</label><br>
<input type="checkbox" id="css_news" value="css_newsletter" name="user_newsletter"><label for="css_news">CSS News</label><br>
<input type="checkbox" id="java_news" value="javascript_newsletter" name="user_newsletter"><label for="java_news">Javascript News</label><br>
<label>Newsletter Format</label><br>
<input type="radio" id="html" value="html" name="newsletter_format"><label for="html">HTML</label><br>
<input type="radio" id="plain_text" value="text" name="newsletter_format"><label for="plain_text">Plain text</label><br>
<label for="topics">Other topics you'd like to hear about</label><br>
<textarea id="topics" name="user_topics" placeholder="Share your interests!"></textarea>
</fieldset>
<!-- newsletter_info-->
<button type="submit">Sign Up</button>
</form>
</div>
<!-- Form -->
<footer>
<p id="copyright">Copyright The Code Review</p>
</footer>
</body>
</html>