Skip to content

Commit eb06d1b

Browse files
Charlene TranCharlene Tran
Charlene Tran
authored and
Charlene Tran
committed
CT completed
1 parent 61cf1da commit eb06d1b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

user-input-with-forms/chapter-examples-CT/form-submission.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@
1414
</style>
1515
</head>
1616
<body>
17-
<!-- Form will use default action value and submit form to current page. -->
18-
<!-- <form action="">
17+
18+
<!-- ORIGINAL: Form will use default action value and submit form to current page. -->
19+
<form action="">
1920
<label>Username <input type="text" name="username"></label>
2021
<label>Team Name <input type="text" name="team">
2122
</label>
2223
<button>Submit</button>
23-
</form> -->
24+
</form>
2425

2526

2627

@@ -33,14 +34,14 @@
3334
</form> -->
3435

3536

36-
37+
3738
<!-- Form will send POST request to Form Handler defined by 'action' attribute -->
38-
<form action="https://handlers.education.launchcode.org/request-parrot" method="post">
39+
<!-- <form action="https://handlers.education.launchcode.org/request-parrot" method="post">
3940
<label>Username <input type="text" name="username"></label>
4041
<label>Team Name <input type="text" name="team">
4142
</label>
4243
<button>Submit</button>
43-
</form>
44+
</form> -->
4445

4546

4647
</body>

0 commit comments

Comments
 (0)