@brasspetals
Posted
Hi, Grog! 🐸 Congrats on submitting another solution. 🎉 It looks great and responds nicely.
As for your question, adding HTML attribute "required" to your email input should prevent empty submissions. 👍
Marked as helpful
@GregLyons
Posted
@brasspetals Ah, good point! I added that and greatly simplified the JavaScript, thanks! (still think I need to keep track of first attempt so error doesn't display in beginning, so unfortunately not pure HTML/CSS)