Huddle landing page with a single introductory section
Design comparison
Solution retrospective
Well, this challenge was really difficult to me. I had to study a few things I didn't know, such as icons and the position property. The widths are so challenging to me. I can't figure out how they work to make a responsive page. What do you guys think? feel free to see my code and add some suggestions at this site, I will thank you :)
Community feedback
- @superschoolerPosted over 2 years ago
Hey Fernando, great job on this project! It looks great on both mobile and desktop.
Can you clarify where you need help with the widths? I see you've got the width of the container set to 80% on the desktop view, but you also have a max-width of 1200px which is what keeps the image and text to not change sizes. Regardless, it looks great how you have it.
One suggestion I have would be to use rem instead of px for your font-sizes. The root font size in browsers is usually 16px, so using rem will allow the text to scale if a user manually set their web browser to show text as larger or smaller.
Here's a great video explaining rem and em: https://www.youtube.com/watch?v=_-aDOAMmDHI
Marked as helpful0@fermopPosted over 2 years ago@superschooler Thank you for the feedback!! I really appreaciate it.
I struggle with the widths because when it comes to a different size I have no idea how to make it responsive. I don't know which is the largest size on mobiles and the smallest size on desktop, that's why I use percentages but I don't know if it is the best way to make it responsive. I can't set the pages according to the size of the user because I don't know what size is next once I finish on 375px width. I tried to make it responsive at 720px but I couldn't because I was also using pixels on everything so I decided to make it responsive at 1336px where most of the elements fit the container. I had no idea how ems and rems work so thank you, I just watched the full video you told me and I will definitely use them on my next project. Thank you a lot!! I owe you one :)
1
Please log in to post a comment
Log in with GitHubJoin 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