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

Lin's Fylo Data Storage Component

Lin Zhang 135

@linzhangcs

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


What's your take on the background? Do you position it on the bottom of page?

Community feedback

P

@emestabillo

Posted

Hi @linzhangcs, great desktop implementation here. For your question regarding the background, I think it's better to put it inside body or main-container and look into background-position property. Here is another page with examples. This gives you the option to delete the background div altogether. Would've liked to see a mobile version of the project :-) Hope this helps!

1

Lin Zhang 135

@linzhangcs

Posted

@emestabillo 👋 thanks for your answer! Yes, that's definitely the better option. Also, I added the mobile version as well :)))

1

@jiroRi

Posted

Your work pretty much on the component itself is really great!

However, here's a workaround I tried to be able to fix your solution's responsiveness, mainly the background for desktop version and multiple screensizes especially for bigger screens:

.body

  • added height: 100vh; and display: flex;.

.background

  • changed position: absolute; to position: fixed;
  • added background-size: 100% 50%;
  • changed height: 420px; to 100%;
  • added background-position-y: 100%;

.main-container

  • remove the height: 800px; or just set it to height: auto;

.data-storage

  • from margin: 45px auto 60px to margin: 0 auto;

Let me know if I were able to be of help. Best of luck bro and keep at it! 💪

1

Lin Zhang 135

@linzhangcs

Posted

@jiroRi Hi 👋 thanks for your detailed review! It's pretty helpful

0

@ovidiuantonio

Posted

As @emestabillo said you did a great work on the desktop version, it looks very nice.

These are the media queries I use in every solution (I think this will help you to create the mobile version):

  • 0-600px (mobile)
  • 600-900px (tab port)
  • 900-1200px (tab land)
  • 1200px (large screens)

Happy coding! Keep going!

0

Lin Zhang 135

@linzhangcs

Posted

@ovidiuantonio Hi, thanks for the helpful comment. I added the media queries. Happy coding to you too :)

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