-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (26 loc) · 1.11 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
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="styles.css">
<div class="box">
<head>
<title>U.S. Representatives Lookup</title>
<!-- This function creates the popup that denies access to go further into the page.
If it senses there is no value inside the zipcode ID then it will return false and end the program there -->
</head>
<h1><font size="+10">United States Representatives Lookup</font></h1>
<body>
<p><font size="+1">Enter a zip code to see a list of elected representatives for that area.</font></p>
<!--Creates a form which connects with the Zip Lookup php file. Uses post method which could be changed to get
hopefully to removed the form resubmit popup on chrome. This would require rewriting of some php scripts however
which might break what works currently. -->
<form action="/ziplookup.php" method = "post">
<font size="+1">Zip Code:</font><br>
<input type = "text" required="" name="ZipCode" id="zipcode">
<br/>
<br/>
<input type="submit" value="Submit" onClick="return empty()" >
</form>
</body>
<br>
</div>
</html>