Hint You should give the email a name attribute. PS I would have chosen email

Tell us what’s happening:
Describe your issue in detail here.
With form submissions, it is useful, and good practice, to provide each submittable element with a name attribute. This attribute is used to identify the element in the form submission.

Go ahead, and give each submittable element a unique name attribute of your choosing. Except for the two radio inputs.

Hint : You should give the email a name attribute. PS I would have chosen email

I’m good with the names I’m just having a hard time what to replace in the email input since its not accepting anything. Please help me. Thanks!

   **Your code so far**
/* file: index.html */
<!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>Enter Your First Name: <input name="text" required /></label>
       <label>Enter Your Last Name: <input name="text" required /></label>
       <label>Enter Your Email: <input mail="email" required /></label>
       <label>Create a New Password: <input type="password" pattern="[a-z0-5]{8,}" required /></label>
     </fieldset>
     <fieldset>
       <label><input type="radio" name="account-type" /> Personal Account</label>
       <label><input type="radio" name="account-type" /> Business Account</label>
       <label>
         <input type="checkbox" required /> I accept the <a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a>
			  </label>
     </fieldset>
     <fieldset>
       <label>Upload a profile picture: <input type="file" /></label>
       <label>Input your age (years): <input type="number" min="13" max="120" />
			  </label>
       <label>How did you hear about us?
         <select>
           <option value="">(select one)</option>
           <option value="1">freeCodeCamp News</option>
           <option value="2">freeCodeCamp YouTube Channel</option>
           <option value="3">freeCodeCamp Forum</option>
           <option value="4">Other</option>
         </select>
       </label>
       <label>Provide a bio:
				  <textarea rows="3" cols="30" placeholder="I like coding on the beach..."></textarea>
			  </label>
     </fieldset>
     <input type="submit" value="Submit" />
   </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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 36

Link to the challenge:

It looks like you replaced “type” with “name”. Here you are supposed to add a name attribute to each input element not replace the type attribute.

There is no such a thing as input mail, you need to bring back the type and add a name using the “name” attribute

An example of a tag with both a type and a name:

<input type="text" name="anyname" required />

Test

Sorry, your code does not pass. You’re getting there.

Hint

You should give the number a name attribute. PS I would have chosen age

can you help me with this? I can’t seem to find the number