Design comparison
Solution retrospective
In the Signup Form project, I am most proud of the seamless integration of client-side form validation to enhance user experience. Implementing validation for various input fields, such as checking for empty fields, validating email format, and ensuring password strength, was a challenging yet rewarding task. Seeing the error messages dynamically appear as users interact with the form gives me satisfaction in providing a smooth and intuitive signup process.
What challenges did you encounter, and how did you overcome them?During the development of the Signup Form project, several challenges were encountered, but each presented an opportunity for learning and growth. Some of the main challenges and how they were overcome include:
Implementing Validation Logic: Designing and implementing validation logic for various input fields, such as email format validation and password strength checking, posed a significant challenge. To overcome this, I broke down the validation process into smaller, manageable tasks and researched best practices for each validation type. By following examples and tutorials, I was able to implement robust validation logic that ensured data integrity and user input correctness. Handling Password Confirmation: Ensuring that the user's password and confirmation password matched presented a challenge, especially considering the need to provide immediate feedback to the user. To address this, I implemented JavaScript code to compare the values of the password and confirmation password fields in real-time. By listening for input events on both fields and updating the UI accordingly, I was able to provide instant feedback to the user and guide them towards entering matching passwords. Styling and Layout: Designing an intuitive and visually appealing signup form layout proved to be a challenge, particularly in terms of CSS styling and responsiveness. To overcome this, I utilized CSS frameworks such as Bootstrap to leverage pre-built components and grid systems, which facilitated the creation of a responsive and aesthetically pleasing form layout. Additionally, I experimented with different CSS styles and layouts until achieving the desired visual outcome. Testing and Debugging: Ensuring that the signup form functioned correctly across different browsers and devices required thorough testing and debugging. I encountered issues related to browser compatibility, JavaScript errors, and CSS layout inconsistencies. To address these challenges, I conducted extensive testing across multiple browsers and devices, used browser developer tools for debugging, and iteratively refined the code based on feedback and observations.
What specific areas of your project would you like help with?For the signup project, I would appreciate assistance with the following areas: Implementing server-side validation to complement the existing client-side validation. Optimizing the code for performance and readability. Testing the signup form across different browsers and devices to ensure compatibility.
Community feedback
- @alex931dPosted 7 months ago
Great solution but i don’t quite understand your question about implementing server-side validation, Normally you will send a post http request to an backend and in the backend you would check the same things as in the client-side for example if the email is correct Etc if its not you would typically send an 404 or 500 http status code back to inform the user about their mistake :) hope it helps, quick note you don’t need to implement server-side in all newbie callenges and juinor, if your new to JavaScript i would recommend judt learning the basic maybe do an juinor or advance callange and get a good grip on js👍🏻
Marked as helpful0@tucecifciPosted 7 months ago@alex931d Yes ım a newbie, thanks for your comment. I am trying to learn js basic.
0 - @danielmrz-devPosted 7 months ago
Hello @tucecifci!
Your solution looks great!
I have a suggestion for improvement:
📌 Think about using
<main>
to wrap your main content instead of<div>
.Imagine
<div>
and<span>
in HTML as basic containers. They're good for holding stuff, but they don't tell us much about what's inside or its purpose on the webpage.This change might not have impact on how your page looks, but it'll make your HTML code clearer and help with SEO and accessibility.
Hope that's helpful!
Keep up the great work!
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