|
1 | | -<!doctype html> |
| 1 | +<!DOCTYPE html> |
2 | 2 | <html lang="en"> |
3 | 3 |
|
4 | 4 | <head> |
|
7 | 7 | <title>Williamsburg Resource Hub</title> |
8 | 8 | <link rel="icon" type="image/x-icon" href="https://www.google.com/s2/favicons?sz=16&domain_url=https://tsaweb.org"> |
9 | 9 | <link rel="stylesheet" href="tsa.css"> |
10 | | - |
11 | 10 | </head> |
12 | 11 |
|
13 | 12 | <body> |
14 | 13 | <a class="skip-to-content" href="#main-content">Skip to content</a> |
15 | 14 | <header> |
16 | | - <a href="index.html"></a> |
17 | 15 | <h1> |
18 | 16 | <a href="index.html">Welcome to the Williamsburg Resource Hub!</a> |
19 | 17 | </h1> |
|
27 | 25 | </ul> |
28 | 26 | </nav> |
29 | 27 | <main id="main-content"> |
30 | | - <title> |
31 | | - <p>Williamsburg Resource Hub</p> |
32 | | - </title> |
33 | 28 | <form action="example.php" method="post"> |
34 | 29 | <fieldset> |
| 30 | + <legend></legend> |
35 | 31 | <p> |
36 | 32 | <label for="name">Name of resource*</label> |
37 | | - <input type="text" id="name" name="name" required /> |
| 33 | + <input type="text" id="name" name="name" required> |
38 | 34 | </p> |
39 | 35 |
|
40 | 36 | <p> |
41 | 37 | <label for="type">Type*</label> |
42 | | - <select id="type" name="type" required=""> |
| 38 | + <select id="type" name="type" required> |
43 | 39 | <option value="">Choose...</option> |
44 | 40 | <option value="Non-profit">Non-profit</option> |
45 | 41 | <option value="Support">Support</option> |
|
50 | 46 | <option value="School">School</option> |
51 | 47 | <option value="Event">Event</option> |
52 | 48 | </select> |
| 49 | + </p> |
53 | 50 |
|
54 | 51 | <p> |
55 | 52 | <label for="phone">Phone number*</label> |
56 | | - <input type="text" id="phone" name="phone" placeholder="(123) 456-7890" required pattern="(?:([+][0-9]{1,4})[- ]?)?(?:[(]([0-9]{1,3})[)][- ]?)?([0-9]{1,4})[- ]?([0-9]{1,4})[- ]?([0-9]{1,9})" /> |
| 53 | + <input type="text" id="phone" name="phone" placeholder="(123) 456-7890" required pattern="(?:([+][0-9]{1,4})[- ]?)?(?:[(]([0-9]{1,3})[)][- ]?)?([0-9]{1,4})[- ]?([0-9]{1,4})[- ]?([0-9]{1,9})"> |
57 | 54 | </p> |
58 | | - |
59 | 55 | <p> |
60 | 56 | <label for="email">Email*</label> |
61 | | - <input type="email" id="email" name="email" required /> |
| 57 | + <input type="email" id="email" name="email" required> |
62 | 58 | </p> |
63 | | - |
64 | 59 | <p> |
65 | 60 | <label for="bdate">Birthdate</label> |
66 | | - <input type="date" id="bdate" name="bdate" /> |
| 61 | + <input type="date" id="bdate" name="bdate"> |
67 | 62 | </p> |
68 | | - |
69 | 63 | <p> |
70 | 64 | <label for="referrer">How did you hear about us?</label><br> |
71 | 65 | <select multiple id="referrer" name="referrer"> |
|
75 | 69 | <option value="Other">Other</option> |
76 | 70 | </select> |
77 | 71 | </p> |
78 | | - |
79 | 72 | <p> |
80 | 73 | Would you recommend this site to others? <br> |
81 | 74 | <label for="recommendYes" class="radio">Yes</label> |
82 | 75 | <input type="radio" id="recommendYes" name="recommend"> |
83 | 76 | <label for="recommendNo" class="radio">No</label> |
84 | 77 | <input type="radio" id="recommendNo" name="recommend"> |
85 | 78 | </p> |
86 | | - |
87 | 79 | <p> |
88 | 80 | <label for="comments">Questions/Comments</label> |
89 | 81 | <br> |
90 | 82 | <textarea id="comments" name="comments" rows="5" cols="50"></textarea> |
91 | 83 | </p> |
92 | | - |
93 | | - <p> |
| 84 | + |
94 | 85 | <label for="submit"></label> |
95 | | - <input id="submit" type="submit" name="submit" value="Submit"> |
96 | | - </p> |
97 | | - |
98 | | - <p> |
| 86 | + <button id="submit" type="submit" name="submit">Submit</button> |
99 | 87 | <label for="reset"></label> |
100 | | - <input id="reset" type="reset" value="Cancel"> |
101 | | - </p> |
| 88 | + <button id="reset" type="reset">Reset</button> |
102 | 89 | </fieldset> |
103 | 90 | </form> |
104 | | - |
105 | 91 | </main> |
106 | 92 | <footer> |
107 | | - <p>This page was made as a project for TSA's 2025 "Webmaster" theme. |
| 93 | + <p> |
| 94 | + This page was made as a project for TSA's 2025 "Webmaster" theme. |
108 | 95 | </p> |
109 | 96 | </footer> |
110 | 97 | </body> |
|
0 commit comments