Failing test #6 on Content for Survey Form

I’m trying to pass all the tests for the Survey Form project, but I can’t figure out what I’m doing wrong with the email HTML5 validation error. It’s supposed to show an error when email is formatted wrong when you try and submit it. It does do this but for whatever reason the test always comes up as failed. I appreciate any help on fixing it.

https://codepen.io/Amadios/pen/ExjayRG

look also at the first line below it

  1. If I enter an email that is not formatted correctly, I will see an HTML5 validation error.
    Email field should be HTML5 validated : expected 'text' to equal 'email'

with type="text" everything is permitted

your form is submitted with no error if you put something that is not an email there, instead the html error will stop you from submitting if something is not correct

…Man that’s been driving me crazy for too long lol. Thanks for the help as soon as I changed it it passed.

look carefull at the hints given by the tests next time! sometimes they do not say anything understandable, others are pretty useful