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

intro-component-with-signup-form-master

tucecifci 150

@tucecifci

Desktop design screenshot for the Intro component with sign-up form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

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

P
alexander 1,300

@alex931d

Posted

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 helpful

0

tucecifci 150

@tucecifci

Posted

@alex931d Yes ım a newbie, thanks for your comment. I am trying to learn js basic.

0
Daniel 🛸 44,230

@danielmrz-dev

Posted

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

tucecifci 150

@tucecifci

Posted

@danielmrz-dev thank you so much, noted! :)

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