Skip to content

Commit 340c405

Browse files
committed
exercise completed
1 parent ae20031 commit 340c405

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,26 @@
99
</head>
1010
<body>
1111
<!-- TODO: add form here -->
12+
<form
13+
action="https://handlers.education.launchcode.org/request-parrot"
14+
method="POST">
15+
<label>Test Name <input type="text" name="testName"/></label>
16+
<label>Test Date <input type="date" name="testDate"/></label>
17+
<label>Rocket Type <select name="rocketType">
18+
<option value="">* Please select an option *</option>
19+
<option value="1">Brant</option>
20+
<option value="2">Lynx</option>
21+
<option value="3">Orion</option>
22+
<option value="4">Terrier</option>
23+
</select></label>
24+
<label>Number of Rocket Booster <input type="number" name="boosterCount" min="1" max="10"></label>
25+
<label>Wind Rating:</label>
26+
<label>No Wind<input type="radio" name="windRating" value="0"></label>
27+
<label>Mild<input type="radio" name="windRating" value="10"></label>
28+
<label>Strong<input type="radio" name="windRating" value="20"></label>
29+
<label>Use production grade servers <input type="checkbox" name="productionServers"></label>
30+
<button>Run Simulation</button>
31+
</form>
1232
</body>
1333

1434
</html>

0 commit comments

Comments
 (0)