Build a survey form- Help needed

I’ve been trying to change format of the code multiple times but it still says it’s wrong. Hint 12: Your #email should be a descendant of #survey-form .

My code:

  <form id="survey-form">
    <div class="form-group">
      <fieldset>
        <label for="age">Age (optional)
          <input id="number" type="number" name="age" min="13" max="120" />
        </label>
      </fieldset>
    </div>
  </form>
</body>

Can someone please tell me how to correct the error.
Thank you

Where is your #email element?

1 Like

So far you only appear to have a number input, you need to add an email input.

1 Like

apologies the hint was: Your #number should be a descendant of #survey-form.

Can you post all the code and not just a snippet? We cannot test with a snippet.

Hi, I’ve solved the problem but thank you for your help :smile:

2 Likes