Submitted 5 months ago
Newsletter sign-up form with success message HTML CSS JavaScript
@auri222
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
- I used the key-up event to check the user input when they typed in the wrong email format immediately
- I will use React JS for this challenge next time.
In this challenge, I used JavaScript to change the image source according to the screen size, and then I met the "Cannot set property src of null" problem. After that, I googled (ofc) and found the solution from Stack Overflow that said I should put all the variables into the DOMContentLoaded event and that fixed the problem. Read more from here.
What specific areas of your project would you like help with?Feel free to notify me about any problems I have in the code. Thanks.
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