Skip to content

Commit f83e3de

Browse files
committed
Exercise complete
1 parent 0611095 commit f83e3de

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

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

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,24 @@
88
</style>
99
</head>
1010
<body>
11-
<!-- TODO: add form here -->
11+
<form action="https://handlers.education.launchcode.org/request-parrot" method="POST">
12+
<label>Test Name <input type="text" name="testName"/></label>
13+
<label>Test Date <input type="date" name="testDate"/></label>
14+
<label> Rocket Type:
15+
<select name="rocketType">
16+
<option value="1">Lynx</option>
17+
</select>
18+
</label>
19+
<label>Number of Rocket Boosters <input type="number" name="numBoosters"/></label>
20+
Wind Rating:
21+
<label>No Wind<input type="radio" name="windRating" value="noWind"/></label>
22+
<label>Mild<input type="radio" name="windRating" value="mild"/></label>
23+
<label>Strong<input type="radio" name="windRating" value="strong"/></label>
24+
<label>Use production grade servers<input type="checkbox" name="usePGS"/></label>
25+
26+
<button>Run Simulation</button>
27+
</form>
28+
1229
</body>
1330

1431
</html>

0 commit comments

Comments
 (0)