Design comparison
Solution retrospective
There was a lot going on with this one so I took my time with each little thing and really focused on the getting it functioning properly and looking like the design.
What challenges did you encounter, and how did you overcome them?The slider was the first challenge, getting it to turn green as it moved, then the checkbox styling with the check icons was a whole other challenge, then getting the strength boxes working correctly was tough too. I just kept at it, did more research and got help from the community as I went along.
What specific areas of your project would you like help with?I think I'm good on this one, but any feedback is welcome.
Community feedback
- @VishikaPosted 3 months ago
Nice solution!
After looking through your code for the strength score, I realise that basing it on the actual generated characters rather than simply the user inputs is how I should have done mine! I also realised I could have used the checkbox image provided like you did rather than generating a polygon clip-path...
That said, I noticed a couple things with your solution
-
There is a bug, when you generate a strong password by ticking all the options and have the length at 20, then you lower the length slider to 1 and click generate, the strength bars show 3, and the text shows "too weak"
-
The
#strength-level-text
on mobile view (375px) is quite large when "too weak" and perhaps the password is too when the length is maximised ( i usedflex-wrap
and made the font smaller)
0 -
Please log in to post a comment
Log in with GitHubJoin 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