Ramsey99 / Admin_Dashboard

Admin dashboard project for a bus transport organization
https://admin-dashboard-plum-theta.vercel.app
30 stars 71 forks source link

Update INDEX.html #134

Open akshitbansal2005 opened 1 month ago

akshitbansal2005 commented 1 month ago
  1. Reusability & Readability:

    • The password toggle functionality is now modular, improving code reuse.
    • The notification display logic is encapsulated in a function, reducing redundancy.
  2. Validation Improvements:

    • The email validation is more flexible, allowing any valid domain instead of just gmail.com.
    • Password strength validation is streamlined with specific conditions (length, case, numbers, special characters) and offers visual feedback through a strength indicator.
  3. Form Interaction:

    • Both sign-in and sign-up forms have clear validation logic, and the flow is more user-friendly, using notifications for errors or success.
  4. Password Strength Indicator:

    • Provides a more dynamic user experience, adjusting colors and messages based on password complexity.
  5. Modal Handling:

    • The forgot password modal logic is improved for smoother interactions, including closing behavior and email validation for sending reset links.

What does this PR do?

(Provide a description of what this PR does.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)