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

Social links profil using Grid

Reno Gβ€’ 50

@pamplito

Desktop design screenshot for the Social links profile coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

I'm very happy to have felt more comfortable when I started and to have provided a solution that seems to work.

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

My challenge, which I failed, was to avoid using @media and to get a responsive fluid on container size and padding.

I didn't succeed, but it's still a success because the research was very beneficial, as it helped me discover other functions that will be useful on other projects.

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

As I'm learning on my own, I welcome any advice.

More specifically, if anyone has a method for doing what I've tried to get a container fluid and padding fluid, I'd be very happy to have it explained to me or to be directed to the documentation.

Community feedback

Abdul Khalid πŸš€β€’ 71,880

@0xabdulkhalid

Posted

Hello there πŸ‘‹. Congratulations on successfully completing the challenge! πŸŽ‰

  • I have a suggestion regarding your code that I believe will be of great interest to you.

BODY MEASUREMENTS πŸ“:

  • Using height: 100dvh for body can cause elements to be cut off during landscape mode on mobile devices. This is because the viewport height (vh) changes when the device is rotated, and setting height: 100dvh forces the element to match the new viewport height, potentially cutting off content that exceeds the new height.
  • For example; if we set height: 100vh then the body will have 100vh height no matter what. Even if the content spans more than 100vh of viewport.
  • But if we set min-height: 100vh then the body will start at 100vh, if the content pushes the body beyond 100vh it will continue growing. However if you have content that takes less than 100vh it will still take 100vh in space.
  • To avoid this issue, it is generally recommended to use min-height: 100vh or min-height: 100dvh instead of setting a fixed height. This way, the element will adjust its height based on the available content while still covering the viewport height as a minimum.
  • If you want to ensure that the element always covers the entire viewport without cutting off content, you can combine min-height: 100vh (or min-height: 100dvh).

.

I hope you find this helpful πŸ˜„ Above all, the solution you submitted is great !

Happy coding!

Marked as helpful

0

Reno Gβ€’ 50

@pamplito

Posted

Hello @0xabdulkhalid,

Thank’s a lot for your feedback!

I’ll try it today and do some test to really understand how it work.

Have a good day πŸ‘‹

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