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

Solution retrospective
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.
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.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @0xabdulkhaliq
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 alabel
associated with it, Currently you're usingp
element instead oflabel
. 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 ofform
elements such ascheckboxes
,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 formlabels
to identifyform
fields.
- Example:
<label for="email" class="email-address">Email address</label> <input type="email" name="email" id="email" placeholder="email@company.com">
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
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