Build a Survey Form

Omar's Survey Form

Thank you for taking omar's form

What is your name? what is your email? What is your age?

My code keeps failing for these requirements but I have them in my code please help

  • You should have an input element with an id of number.

  • Failed:Your #number should be a descendant of #survey-form.

  • Failed:Your #number should have a type of number.

  • Failed:Your #number should have a min attribute with a numeric value.

  • Failed:Your #number should have a max attribute with a numeric value.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').


Hi @Oizzat

1- You should move each input element from the label element and nest them to the label elements and not within (this should resolve many problems)
2- Add an id attribute to the last input element: id = “number”

Tell me if you’re good :slightly_smiling_face:

Thank you sir much appreciated, it worked!

1 Like

You’re welcome @Oizzat