Responsive landing page using HTML, SCSS and BEM class naming conventi
Design comparison
Solution retrospective
Hi, all. I have made a landing page which took a whole day to build it. For the first time, I have used BEM notation and SCSS and at first, I got confused about what is happening with my code, and as I practice it using this challenge I understood that it relieves so much pain from such a big layout and that's why it's so useful.
I've made the landing page as responsive as it can get. I know my SCSS is messy and confusing right now but have a look if you found some room for improvement and please let me know. ππ
Community feedback
- @folathecoderPosted over 3 years ago
Hi, Akshay Meshram!
Your solution looks clean on most devices except very large screens (like 5000px width). It is important to make a webpage appear perfect on larger screens also, because monitors of those sizes are becoming very common.
You can assess this by using a browser inspector to check for responsiveness on huge screens.
Solution: You can wrap each section and give them an appropriate max-width, instead of setting the width to 100% (this will take the width of the whole screen)!
I hope this helps!
Happy coding!
1@akshay63Posted over 3 years ago@folathecoder Thanks for your feedback! I'll definitely try to make my sites more responsive for all types of devices in my upcoming solutions. Happy learning!ππ
0 - @ApplePieGiraffePosted over 3 years ago
Hey there, Akshay Meshram! π
Nice work on this challenge! π
One or two things I suggest are,
- Turning the social media icons in the footer of the page into links by wrapping them in an anchor tag.
- Perhaps considering using min-width (instead of max-width) in your media queries for your next project, since min-width works well with a mobile-first and occasionally loads fewer styles for devices with small screens (which might make your site load slightly faster). π
Keep coding (and happy coding, too)! π
1@akshay63Posted over 3 years ago@ApplePieGiraffe Thanks for your feedback, APG! I'll try to use min-width for Mobile-first responsive design in my upcoming projects.
0
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