Learn Accessibility by Building a Quiz - Step 41

Tell us what’s happening:

Here is my code, its throwing an error the submit button should be inside the form element.

Your code so far

Student Info

Name:
Email:
D.O.B.(Date of Birth)

HTML

1

The legend element represents a caption for the content of its parent fieldset element
  • True
  • False

2

A label element nesting an input element is required to have a for attribute with the same value as the input's id
  • True
  • False

CSS

Are you a frontend developer?
Do you have any questions:
    </section>
      <div class="submit-button">
       <button type="submit">Send</button>
      </div>
  </form>

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

Challenge Information:

Learn Accessibility by Building a Quiz - Step 41

Welcome to FFC forum. You modified your code. You didn’t need div tags for submit button, remove it or reset your challenge and add button tags after last section closing tag before closing form tag.
@Nive2002