Skip to content

Commit b52ed95

Browse files
committed
finished exercises but don't understand bonus mission
1 parent 8deddea commit b52ed95

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,31 @@
66
<style>
77
label { display: block; margin-bottom: 7px;}
88
</style>
9+
910
</head>
1011
<body>
12+
<script src="script.js"></script>
1113
<!-- TODO: add form here -->
14+
<form action="https://handlers.education.launchcode.org/request-parrot" 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:
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="3">Orion</option>
23+
<option value="4">Terrier</option>
24+
</select>
25+
</label>
26+
<label>Number of Rocket Boosters <input type="number" name="boosterCount"/></label>
27+
Wind Rating:
28+
<label>No Wind<input type="radio" name="windRating" value="0"/></label>
29+
<label>Mild<input type="radio" name="windRating" value="10"/></label>
30+
<label>Strong<input type="radio" name="windRating" value="20"/></label>
31+
<label>Use production grade servers<input type="checkbox" name="productionServers"/></label>
32+
<button id="run">Run Simulation</button>
33+
</form>
1234

1335

1436
<p>WARNING: This ONLY works in <b>replit</b> if this "result" page is opened in its own window. Click the icon that shows a box with an arrow coming out of it.

0 commit comments

Comments
 (0)