Can't pass the #8 test on survey form project

As the title states I’m unable to pass this test (#8) even if I set a “pattern” property for my inpt type number ( [0-9] simple right?) and I indeed get an HTML error when entering non-number values but it doesn’t pass the test.


In order to assist you with debugging this, please provide the link to your CodePen (or other link where your project is hosted live).

Uhh, here I forgot sorry

Any news? I see no prblem with my code and it is working as intended (i think at least)

<label for="number" id="number">
Took me a little bit to see it.
Your <label> has the same id as your <input>. That’s throwing off the tests. :slight_smile:

lol :man_facepalming:. Stupid mistake. sorry for wasting your time (and mine… :unamused: ). Thanks again for your help :smiley:

1 Like

Sorry it took me so long to catch it! Thanks for your patience :slight_smile:

1 Like