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

Vanilla JS Solution for Password Generator

Helmer302 110

@Helmer135

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


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.

Community feedback

@fazzaamiarso

Posted

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!

0

Helmer302 110

@Helmer135

Posted

@fazzaamiarso Hi, thank you for the comment.

I've wrapped them already, but it didn't work, I think it's because the children elements are all in-line displayed, so it won't go to the next line.

But I did adjust font size and margins for the smaller screen view, I think it looks better now.

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