Design comparison
Solution retrospective
I'm most proud that I completed this project with minimal help and used online resources and the console to figure out how to write out my JavaScript code.
What challenges did you encounter, and how did you overcome them?I encountered a minor setback while changing the placeholder color for an input submission, but I was able to resolve it quickly by using the code "document.getElementById('email').style.color = 'hsl(4, 100%, 67%)'".
What specific areas of your project would you like help with?To enhance the efficiency and conciseness of JavaScript code used for displaying a success message after a user submits an email address for a newsletter sign-up.
Community feedback
- @jbarriguete86Posted 7 months ago
Great job! I really like you solution . Just a couple of things:
- I will use the email input variable to only allow submissions when it is populated to avoid empty sends.
2.I will use let instead of var . Here is an article that might help to understand the differences between both click [here] (https://www.linkedin.com/pulse/lets-talk-variables-benefits-using-let-const-modern-javascript-baker?utm_source=share&utm_medium=member_ios&utm_campaign=share_via)
Sorry if the link doesn’t go through correctly I’m new to front end mentor
Congratulations for your project
0
Please log in to post a comment
Log in with GitHubJoin 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