Vanilla JS Solution for Password Generator

Solution retrospective
Hi,
When I working on responsive views, I found that when the screen size is near the breakpoint, but not yet reached it, the appearance is really bad. Especially when there's a long password or strength text (i.e. TOO WEAK!), they just overflow the container.
Thank you!
----------- Edit ------- I further adjust the breakpoint and margin for a better responsive view. I think they look well now. But is there a good solution to that? I'd love to improve my code for that.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @fazzaamiarso
Hi HELMER302’S! Great job!
Since you're using flex container, to fix overflow you can add
flex-wrap: wrap
property.I hope it helps! Cheers!
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