I'm Back! Made with CSS Grid and JavaScript vanilla

Solution retrospective
I'm back by popular demand. Or maybe not. Well, a couple of months of inactivity. A lot of changes in my life, but now we're ready to keep practicing.
I had this challenge almost ready when I took my unsolicited break. The most difficult still is posicionate the background in the right place. I don't think it quite match up perfectly, but it looks good, at least. If you can recommend me a better solution I'll be thankful and open to hear you.
I worked with grid for the page structure. For the JavaScript code, I created a helper function to check if the email enter by the user is valid, I tried multiple regex expression until I found out the one that satisfied the result I wanted to obtain. Then, I added styles conditionally using ternary operator because I didn't want to repeat myself too much. Plus: I added an indicator when the email is send successfully.
I hope you can review my code and show me improvements that I can make to my code. I'm all ears!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @samanthewebdev
It Looks very nice. Great Job. Can i ask u in how long did u make this? Did u make this without any help all by ur self?
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord