Hey Coders,
Welcome to 15th week. I hope these challenges helping you do become better at React.
This week’s challenge is to make a password checker, if password is strong enough but you have to use the useRef hook of React 😉
Here’s the description of the challenge:
This Password Checker is a React component built with TypeScript, using useRef to track user input efficiently. It evaluates password security based on key strength criteria and provides real-time feedback with color-coded labels.
Features:
✅ Real-time Strength Assessment – As the user types, the component dynamically updates the strength rating without unnecessary re-renders.
✅ Four Strength Criteria – The password is checked against:
Minimum length of 8 characters At least one numeric digit At least one special character (!@#$%^&*, etc.) At least one uppercase letter
✅ Visual Feedback – A color-coded strength indicator provides instant insight into how secure the password is.
✅ User-Friendly UI – Styled input field with smooth interaction.
👉You may try the challenge here
That’s all from this week. Will see you guys next week.
Cheers!!
Tech with Saran