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
Request path contains unescaped characters

Submitted

Fylo Data Storage with flex-wrap in responsive

@OsmarPE

Desktop design screenshot for the Fylo data storage component coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I didn't know how to position the background correctly, any suggestions?

Community feedback

Venus 1,640

@VenusY

Posted

Great work on this challenge! It's responsive, and you've done a good job of replicating the design.

I did notice one small thing though, which is that the buttons aren't the same sizes, nor are they square.

This is happening because you're allowing their sizes to be determined by the icon sizes and the padding around them.

To fix this, you could set a hard-coded width and height, and then center the icons inside them with flexbox:

.card__link {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

I also noticed that the content gets partially cut off when you shrink the height of the viewport enough.

To fix this, you could simply add replace height with min-height for the body element:

body {
  height: 100vh; ❌
  min-height: 100vh;
}

Other than that, this is a very good solution!

Hope this has been helpful! :)

Marked as helpful

1

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