@Da-vi-de
Posted
Hi, nice result on this challenge, although it's not mobile first approach!
-
There's a typo in your HTML, the closing
main
tag misses /, also i'd recommend checking the report and try to resolve the issues. -
In JS you add the class
show
but in CSS that class hasdisplay: block
it should bedisplay: unset
because you setdisplay: none
toemail__error, email__success
but this isn't enough yet. First you need to remove the class in your else statement, you can't just add the class, you also need to remove it! And second either use anid
for selectingemailSuccess
andemailError
or different class, styled classes shouldn't be used for selectig.
Hope it helps, happy coding :-)
Marked as helpful
@Nick331102
Posted
@Da-vi-de Thank you for the feedback