HTML input validation not working

For the survey form project, it seems I have done all that needs to be done but somehow the input validation for Name and Email doesn’t work.

Please assist.

1 Like

Hei, try inspecting your button after you run the tests.

16. Inside the form element, I am presented with a button with id=“submit” to submit all my inputs.

Your button’s type attribute should have a value of “submit” : expected ‘button’ to equal ‘submit’

The tests can give you really useful information. It essentially tells you why you’re not passing the test.


@spiceemman change button type="button" to button type="submit".

1 Like

You just have an issue with the type element into your tag. It shouldn’t be “button” but another one such as said previously in the messages.

1 Like

Thank you so much. I totally missed that one.
Have a lovely day.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.