Build a Survey Form - Build a Survey Form

Tell us what’s happening:

stuck at build a review form step 8 your#name should require input

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Survey Form</title>
  </head>

  <body>
    <header>
      <h1 id="title"> The Review Form of X</h1>
      <p id="description">I do not like Elon Musk therefore I do not like X, the platform.
        </p>
      </header>
      <main>
        <form id="survey-form">
          <fieldset>
            <legend>Personal Data Collection</legend>
            <label>
              Name (required):
              </label>
            <input type="text" id="name"
          </form>
          </fieldset>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0

Challenge Information:

Build a Survey Form - Build a Survey Form

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-survey-form/587d78af367417b2b2512b03.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome to the forum @d7310620-hash

Syntax highlight is giving you some information.

The red less than sign (<) indicates that the input element in not closed.

Also, you need an attribute to make the #name element a mandatory input element.

Happy coding