Couldn't figure out problem with my code

Tell us what’s happening:
Describe your issue in detail here.
My code is not passing the test, it kept saying that place the text before the select element and I have done it already, please help me figure it out, the checking AI of the course is very redundant.

  **Your code so far**

<!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 type="text" required /></label>
        <label>Enter Your Last Name: <input type="text" required /></label>
        <label>Enter Your Email: <input type="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></option>
          <option></option>
          <option></option>
          <option></option>
          <option></option>
        </select>
        </label>
      </fieldset>
      <input type="submit" value="Submit" />
    </form>
  </body>
</html>

Hey there! Welcome to the forums!

Could you share a link to the lesson?

Thanks, problem is solved now, i do not have to give space between label element and text, pretty wierd but yeah!:joy::joy:
Thanks for your concern.
P.S. the course is new responsive web development at website itself.

1 Like