Responsive Newsletter Sign Up with Success Message
Design comparison
Solution retrospective
This is my solution for the Newsletter Sign Up with Success Message Challenge. Form validation is handled through JavaScript and there are console logs for error and success messages too. If you have any suggestion let me know! :)
Community feedback
- @0xabdulkhaliqPosted over 1 year ago
Hello there π. Congratulations on successfully completing the challenge! π
- I have other recommendations regarding your code that I believe will be of great interest to you.
JAVASCRIPT π‘:
- Looks like the information
ERROR: Valid email required
is logging at developer console due to theconsole.log()
. it's an issue to haveconsole.log()
statements in a finished web application.
- This is because
console.log()
statements are used for debugging purposes, and they are not intended to be seen by users. Whenconsole.log()
statements are left in a finished web application, they can reveal sensitive information to users, such as the values of variables or the structure of the application's code. This can make the application vulnerable to attack.
- So please remove those
console.log()
statements from the application as soon as possible. then we can completely remove the risk of sensitive information being exposed to users.
.
I hope you find this helpful π Above all, the solution you submitted is great !
Happy coding!
1@Cavalry2010Posted over 1 year ago@0xAbdulKhalid Thank you for your recommendations! I see, that can be a security risk, I removed the console.log() statements from the application.
0@0xabdulkhaliqPosted over 1 year ago@Cavalry2010 Glad you found it helpful ! π€
0 - @NehalSahu8055Posted over 1 year ago
Hello Coder π.
Congratulations on successfully completing the challenge! π
Few suggestions regarding design.
β¨
Dismiss Message
is not working on thank you card try to fix it.I hope you find this helpful.
Happy codingπ
0@Cavalry2010Posted over 1 year ago@NehalSahu8055 Hi, thank you for viewing my solution! The challenge didn't specify what behavior the Dismiss Message button should have, so I just made it reload the web application upon clicking it.
0@NehalSahu8055Posted over 1 year ago@Cavalry2010
It would be better if your use dismiss button linking to your main card.
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