Responsive Signup Page with Email Confirmation: HTML, CSS & JS
Design comparison
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.
Community feedback
- @0xabdulkhaliqPosted 6 months ago
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 protected]">
.
I hope you find this helpful š Above all, the solution you submitted is great !
Happy coding!
0@kanchan-git-projectsPosted 6 months ago@0xabdulkhalid , Thank you so much for your insight. I will keep the points and shall implement it in future works.
0@0xabdulkhaliqPosted 6 months ago@kanchan-git-projects Glad you found it helpful ! š¤
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