Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Password generator app | Typescript, Next.js, React, Tailwind CSS

next, react, typescript, tailwind-css
DJ Neill•130
@djneill
A solution to the Password generator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

Generating the password was a bit of a LeetCode challenge. I didn't expect my components to rely so heavily on each other. I had to go back and forth refactoring a few times to get the strength indicator and password generator to work together.

Whiteboarding and planning out the code first would have been beneficial here.

What challenges did you encounter, and how did you overcome them?

I initially used a lot of if statements in the password strength indicator which may not have been the best solution. They were long, included a lot of conditionals, and it wasn't very readable. I later went back and added a counter so based on the number of points for character length and items included it became easier to read and judge what was a weak password compared to a strong password.

What specific areas of your project would you like help with?

The CSS on the slider could still be better. It's not a perfect match with the Figma design, but for the time being it's a compromise I'm happy with. I felt that I would have spent too much time with that one element when that time could have been better spent in other areas.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on DJ Neill's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License