Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive Signup Page with Email Confirmation: HTML, CSS & JS

@kanchan-git-projects

Desktop design screenshot for the Newsletter sign-up form with success message coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Proud Of:

  • Successfully implemented the dynamic email extraction and display on the success page.

  • Achieved a visually appealing design with smooth transitions.

Next Time:

  • Iā€™d also explore using a front-end framework (like React or Vue) to manage state and components more efficiently.

What challenges did you encounter, and how did you overcome them?

Challenge: Handling form submissions and redirection. Researched form submission techniques and used JavaScript to intercept the form submission, extract the email, and redirect to the success page.

What specific areas of your project would you like help with?

If anyone has suggestions for further optimizing performance or enhancing user experience, Iā€™d love to hear them.

Community feedback

@0xabdulkhaliq

Posted

Hello there šŸ‘‹. Congratulations on successfully completing the challenge! šŸŽ‰

  • I have a suggestion regarding your code that I believe will be of great interest to you.

LABELS šŸ”–:

  • input elements wants a label associated with it, Currently you're using p element instead of label. I agree there's no visual difference between using these elements. But this will greatly affect accessibility!
  • A <label> is used to create a caption for a form control. The <label> can be associated with a form control either implicitly by placing the control element inside the label element, or explicitly by using the for attribute
  • Effective form labels are required to make forms accessible. The purpose of form elements such as checkboxes, radio buttons, input fields, etc, is often apparent to sighted users
  • Even if the form element is not programmatically labeled. Screen readers users require useful form labels to identify form fields.
  • Example:
<label for="email" class="email-address">Email address</label>
<input type="email" name="email" id="email" placeholder="[email protected]">

.

I hope you find this helpful šŸ˜„ Above all, the solution you submitted is great !

Happy coding!

0

@kanchan-git-projects

Posted

@0xabdulkhalid , Thank you so much for your insight. I will keep the points and shall implement it in future works.

0

@0xabdulkhaliq

Posted

@kanchan-git-projects Glad you found it helpful ! šŸ¤ 

0

Please log in to post a comment

Log in with GitHub
Discord logo

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