Four Card Feature Section using CSS, HTML, and Flex
Design comparison
Solution retrospective
Slowly speeding up the work flow which has been really encouraging. I added flex for a few elements which definitely helped the layout. I would love your feedback. Feel free to go into my code and let me know if I am writing code harder than it needs to be!
I also noticed that overall, my work is smaller than what the solution should be. But while I am working on it through a webpage, the size is quite large. Any idea on how I can fix this to accurately display the proper size?
Thanks!
Community feedback
- @ApplePieGiraffePosted almost 4 years ago
Hey, Luke! 👋
It's nice to see you complete another challenge! Good effort on this one! 👏
I suggest doing a little work on the responsiveness of the site. The desktop layout of the site looks great, but the design begins to break as the width of the viewport gets smaller. I think using CSS grid would be a good choice to position the feature cards in this challenge (rather than relative positioning). I also suggest using a heading tag for the heading of the page to make your HTML a little more semantic! 😉
To get a more accurate idea of how your solution matches up with that of the original design, you can use an extension like PerfectPixel to overlay the design image on your page while you are working on it. You can even use the responsive dev tools of your browser to set the height and width of your page to those of the design JPGs for a better idea of the size of things on your website.
Keep coding (and happy coding, too)! 😁
1@lukebergmannPosted almost 4 years ago@ApplePieGiraffe That is a huge help! Yes I will definitely use CSS grid. Positioning with relative is becoming tedious especially when the responsiveness of the site is at stake. I will also check out PerfectPixel for sure. That will come in handy!
I appreciate all your help! I love seeing your posts helping people EVERYWHERE! So helpful!
Luke
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