Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Password Generator Solution

P
Matt Cope 340

@MatthewPCope

Desktop design screenshot for the Password generator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

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

P
Vishika 260

@Vishika

Posted

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

  1. 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"

  2. 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 used flex-wrap and made the font smaller)

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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