Step 17
Nest an input
element within each label
. Be sure to add each input
after the label
text, and include a space after the colon.
Problem:
You should add the third input
after the label
text Enter Your Email:
, and include a space after the colon.
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Registration Form</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<h1>Registration Form</h1>
<p>Please fill out this form with the required information</p>
<form method="post" action='https://register-demo.freecodecamp.org'>
<fieldset>
<label>Enter Your First Name: <input> </label>
<label>Enter Your Last Name: <input> </label>
<label>Enter Your Email: <input> </label>
<label>Create a New Password: <input> </label>
</fieldset>
<fieldset></fieldset>
<fieldset></fieldset>
</form>
</body>
</html>
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Challenge: Learn HTML Forms by Building a Registration Form - Step 17
Link to the challenge: