-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathindex.html
41 lines (35 loc) · 1.23 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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>LC101 HTTP Forms Practice</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='assets/application.css'>
</head>
<body>
<section>
<h2>LC101 HTTP Forms Practice</h3>
</section>
<section>
<form id="submissionForm">
<fieldset>
<label for="first_name">First Name</label>
<input id="first_name">
</fieldset>
</form>
</section>
</body>
</html>
<!-- 1. Create a form outline structure DONE -->
<!-- 2. Add the name attribute for first_name -->
<!-- 3. Add a field for last name -->
<!-- 4. Add a button to submit the form -->
<!-- 4.5. git add and commit -->
<!-- 5. Add a method, and action to the form tag -->
<!-- 6. Add a field for favorite animal. Add a field for favorite food -->
<!-- 7. Add field for favorite food -->
<!-- 7.5 git add and commit -->
<!-- 8. Send a post request to the URL provided. Your data should appear on the screen. -->
<!-- 9. Stretch: Make favorite_food and favorite_animal required on the form! -->
<!-- 10. Stretch: Divide form into two smaller fieldset groups. -->