Skip to content

Conversation

itzsudipta
Copy link
Contributor

@itzsudipta itzsudipta commented Aug 20, 2025

Contributor Info

Your Name:
Sudipta Sarkar


Related Issue

Fixes: #607

Description

Implemented a comprehensive real-time form validation system for both Login and Sign Up pages with instant feedback messages. This enhancement provides users with immediate validation feedback as they type, significantly improving the user experience and reducing form submission errors.

Key Features Implemented:

  • Real-time validation for email, username, and password fields
  • Password strength indicator with visual progress bar for signup
  • Theme-consistent styling using website colors (#780000)
  • Accessibility features with proper ARIA labels
  • Performance optimized with minimal DOM operations

Screenshots / Video (Before & After)

Before:

before_form_validation

After:

after_form_validation


Checklist

  • Mentioned the issue number in this PR.
  • Created a separate branch (not main) before committing.
  • Changes tested and verified.
  • Attached necessary screenshots/videos for clarity.
  • Code is clean, readable, and commented where necessary.
  • No merge conflicts.
  • Follows the design/style guide of the project.
  • Added contributor name above.
  • Confirmed that the feature fits well with the latest updated version of the website.
  • Ensured images and layout are responsive (look good on both desktop and small screens like phones).

Extra Notes (Optional)


@Copilot Copilot AI review requested due to automatic review settings August 20, 2025 11:18
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a comprehensive real-time form validation system for both login and signup pages, providing instant feedback as users type. The enhancement improves user experience by displaying validation messages, error states, and a password strength indicator before form submission.

  • Real-time validation for email, username, and password fields with immediate feedback
  • Password strength indicator with visual progress bar for signup forms
  • Theme-consistent styling using the website's color scheme (#780000)

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
styles/login.css Adds comprehensive CSS styling for validation messages, input states, and password strength indicator
signup.html Adds validation message containers for username, email, and password fields
login.html Adds validation message containers for email and password fields
scripts/auth.js Implements complete validation logic, password strength calculation, and form submission validation

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@itzsudipta
Copy link
Contributor Author

All conflicts have been resolved and the branch is now aligned with main.✅

@Kritika75 Kritika75 merged commit afe0de2 into Kritika75:main Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SUGGESTION] Feat : Real-Time Form Validation Messages for Better User Experience
2 participants