Step 16 Registration Form

I’ve stuck on this step and have no idea what is wrong. Pls help me out.

Hint

You should give the third input element a type attribute of email .

   **Your code so far**
\ file: <!DOCTYPE html>
<html>
 <head>
   <title>Registration Form</title>
	  <link rel="stylesheet" type="text/css" 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 type="text">Enter Your First Name: <input /></label>
       <label type="text">Enter Your Last Name: <input /></label>
       <label type="email">Enter Your Email: <input /></label>
       <label type="password">Create a New Password: <input /></label>
     </fieldset>
     <fieldset></fieldset>
     <fieldset></fieldset>
   </form>
 
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 OPR/86.0.4363.59

Challenge: Step 16

Link to the challenge:

2 Likes

The type attribute goes to the <input> element not the <label> element as you have done.

1 Like

Hey, I’ve got stuck at this point as well.

I’ve written this:

    <label>Enter Your First Name: <input type:"text"/></label>

    <label>Enter Your Last Name: <input type:"text"/></label>

    <label>Enter Your Email: <input type:"email"/></label>

    <label>Create a New Password: <input type:"password"/></label>

  </fieldset>

But it’s telling me that I should: 'give the third input element a type attribute of email’ I don’t understand what I am doing wrong…

Ok, I know what I did wrong now…

what was it that you did wrong?

1 Like

why did you not write it down, what did you find out? I have the same problem, pls

1 Like

cant believe he left us hanging haha

are you still stuck?