π Bug / UX Issue
The password field on the login modal does not have a show/hide password toggle (eye icon).
Users cannot verify what they've typed, which leads to confusion β especially since the form
has strict password validation rules.
π Location
Login modal β Password input field
URL: https://studyplan-jvgd.onrender.com/
π Steps to Reproduce
- Open the app at https://studyplan-jvgd.onrender.com/
- Click on "Sign In" or wait for the login modal to appear
- Try typing in the password field
- Notice there is no way to view the entered password
π Current Behavior
- Password is always hidden with no option to reveal it
- Users can't verify their input before submitting
- Combined with the strict validation (min 8 chars, 1 capital, 1 special char),
this makes it harder to debug login failures
β
Expected Behavior
- An eye icon (ποΈ) should appear at the right end of the password field
- Clicking it should toggle between
type="password" and type="text"
- Icon should update visually (eye / eye-off) to reflect current state
π‘ Suggested Fix
Add a toggle button inside the password input wrapper in index.html / login JS logic:
const toggle = document.querySelector('#togglePassword');
const passwordInput = document.querySelector('#password');
toggle.addEventListener('click', () => {
const type = passwordInput.type === 'password' ? 'text' : 'password';
passwordInput.type = type;
toggle.textContent = type === 'password' ? 'ποΈ' : 'π';
});
π·οΈ Labels
enhancement UX good first issue
π Bug / UX Issue
The password field on the login modal does not have a show/hide password toggle (eye icon).
Users cannot verify what they've typed, which leads to confusion β especially since the form
has strict password validation rules.
π Location
Login modal β Password input field
URL: https://studyplan-jvgd.onrender.com/
π Steps to Reproduce
π Current Behavior
this makes it harder to debug login failures
β Expected Behavior
type="password"andtype="text"π‘ Suggested Fix
Add a toggle button inside the password input wrapper in
index.html/ login JS logic:π·οΈ Labels
enhancementUXgood first issue