Skip to content

Commit f4602f3

Browse files
author
Edward King
committed
Exercise Complete
1 parent 5966729 commit f4602f3

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"liveServer.settings.port": 5501
3+
}

user-input-with-forms/exercises/index.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,36 @@
99
</head>
1010
<body>
1111
<!-- TODO: add form here -->
12+
<form action="https://handlers.education.launchcode.org/request-parrot" method="POST">
13+
<label>Test Name: <input type="text" name="testName"/></label>
14+
<label>Test Date: <input type="date" name="testDate"/></label>
15+
16+
<label>Rocket Type:
17+
18+
<select name="rocketType"/>
19+
<option value ="">Select One</option>
20+
<option value ="1">Brant</option>
21+
<option value ="2">Lynx</option>
22+
<option value ="">Orion</option>
23+
<option value ="">Terrier</option>
24+
25+
</select>
26+
</label>
27+
28+
<label>Number of Boosters:<input type="number" name="boosterCount" min="0" max="10" step="2"/></label>
29+
30+
Wind Rating:
31+
<label>No Wind <input type="radio" name="windRating" value="0"/></label>
32+
<label>Mild <input type="radio" name="windRating" value="10"/></label>
33+
<label>Strong<input type="radio" name="windRating" value="20"/></label>
34+
35+
<label>Uses Production Grade Servers: <input type="checkbox" name="productionServers"/></label>
36+
37+
38+
39+
40+
<button>Run Simulation</button>
41+
</form>
1242
</body>
1343

1444
</html>

0 commit comments

Comments
 (0)