I need to nest an input element within each label, I’m not sure where I am going wrong. The prompt is telling me to add the first input label after the text ‘Enter Your First Name’ but I thought I had already done this.
Your code so far
<!-- 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'>
<!-- User Editable Region -->
<fieldset>
<label for="first-name">Enter Your First Name: <input id="first-name ></label>
<label for="last-name">Enter Your Last Name: <input id="last-name></label>
<label for="email">Enter Your Email: <input id="email"></label>
<label for="new-password">Create a New Password: <input id="new-password"></label>
</fieldset>
<!-- User Editable Region -->
<fieldset></fieldset>
<fieldset></fieldset>
</form>
</body>
</html>
<fieldset>
<label for="first-name">Enter Your First Name: <input id="first-name"></label>
<label for="last-name">Enter Your Last Name: <input id="last-name"></label>
<label for="email">Enter Your Email: <input id="email"></label>
<label for="new-password">Create a New Password: <input id="new-password"></label>
</fieldset>
I took that out but I am still getting the same prompt as before.
<fieldset>
<label>Enter Your First Name: <input id="first-name"></label>
<label>Enter Your Last Name: <input id="last-name"></label>
<label>Enter Your Email: <input id="email"></label>
<label>Create a New Password: <input id="new-password"></label>
</fieldset>
You should add the first input after the label text Enter Your First Name: , and include a space after the colon.
<fieldset>
<label>Enter Your First Name: <input="first-name"></label>
<label>Enter Your Last Name: <input="last-name"></label>
<label>Enter Your Email: <input="email"></label>
<label>Create a New Password: <input="new-password"></label>
</fieldset>
You should add four input elements to the fieldset element.