hi there! 👋
both .invalid
and #error-image
has display: none;
on them by default. by toggling the .hidden
class they still wont appear, because they will still have display: none;
on their own selector.
use the class-toggling to display the image and the message or remove display: none;
from their own selectors, so the hidden class can actually toggle them.
hope this helped 🙏
Good luck and happy coding! 💪