Skip to content

Commit 9edff6f

Browse files
Quinton KornegayQuinton Kornegay
Quinton Kornegay
authored and
Quinton Kornegay
committed
Testing Space
1 parent 49d9f1f commit 9edff6f

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

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

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8">
55
<title>Rocket Simulation</title>
@@ -8,7 +8,18 @@
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 <input type="select" name="rocketType"/></label>
15+
<label>Number of Rocket Boosters <input type="boosterCount" name="testName"/></label>
16+
<label>Wind Rating: <input type="hidden" name="windRating"/></label>
17+
<label>No Wind <input type="radio" name="windRating"/></label>
18+
<label>Mild <input type="radio" name="windRating"/></label>
19+
<label>Strong <input type="radio" name="windRating"/></label>
20+
<label>Use Production Grade Servers <input type="checkbox" name="productionServers"/></label>
21+
<button>Run Simulation</button>
22+
</form>
1223

1324

1425
<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)