Learn HTML Forms by Building a Registration Form - Step 15

Tell us what’s happening:
For this step i am suppose to nest an input element in the label element after the label text and with a space after each colon. However, when i did that it would not let me pass because the third label element has a indentation. I’m not sure how to fix this and am stuck. Can someone help me plz?

   **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html>
 <head>
   <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 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>
/* file: styles.css */
body {
 width: 100%;
 height: 100vh;
 margin: 0;
 background-color: #1b1b32;
	color: #f5f6f7;
}

label {
	display: block;
	margin: 0.5rem 0;
}

   **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0

Challenge: Learn HTML Forms by Building a Registration Form - Step 15

Link to the challenge:

Hello. Your code doesn’t just seem fine, it also passes when pasted into the exercise. What exactly is the issue?

im not sure I thought my code was right but it still wont let me pass. Ive tried refreshing the page but that didn’t help neither

Could you paste the code you currently have on your exercise, please? You might’ve made some changes that made it not passable anymore.

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

Your code still passes. Try restarting the step and pasting your code on the exercise. To restart a step you need to submit without passing until a button that says “Restart Step” pops up.

If you’re still having trouble, it might be an issue outside of your code itself, something related to your browser, maybe.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.