Skip to content

Commit 6454172

Browse files
author
Arthur
committed
Refix the button and reput the name tag
1 parent ff8f2b9 commit 6454172

1 file changed

Lines changed: 5 additions & 19 deletions

File tree

Form-Controls/index.html

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,13 @@ <h1>Product Pick</h1>
1414
<main>
1515
<form>
1616
<label for="user-name">Your Name:</label>
17-
<input id="user-name" type="text" pattern="[A-Za-z\s\-]{2,}" title="Please enter at least 2 letters. Numbers and symbols are not allowed" required>
17+
<input id="user-name" name="user-name" type="text" pattern="[A-Za-z\s\-]{2,}" title="Please enter at least 2 letters. Numbers and symbols are not allowed" required>
1818

1919

2020
<br>
2121

2222
<label for="email">Your Email:</label>
2323
<input id="email" name="user_email" type="email" required>
24-
<button id="go" type="submit"> GoWeiTsungCheng19 hours ago
25-
You should put your name here
26-
27-
WeiTsungCheng19 hours ago
28-
This is incorrectly expressed.
29-
30-
Besides some duplicate values, the value of size should not be color.
31-
32-
WeiTsungCheng19 hours ago
33-
It's best to include a name in the input field. Or the form won't include the data when you submit it
34-
</button>
3524

3625
<br>
3726

@@ -55,16 +44,13 @@ <h1>Product Pick</h1>
5544
<option value="xl">XL</option>
5645
<option value="xxl">XXL</option>
5746
</select>
47+
48+
<button id="go" type="submit"> Submit
49+
</button>
50+
5851
</form>
5952
</main>
6053
<footer>
61-
<!-- change to your name-->
62-
<p>By HOMEWORK SOLUTION</p>
63-
</footer>
64-
</body>
65-
</html>
66-
<footer>
67-
<!-- change to your name-->
6854
<p>Chan Yat Long</p>
6955
</footer>
7056
</body>

0 commit comments

Comments
 (0)