
Four Card Feature Section - HTML/SCSS/Flexbox/BEM
Design comparison
Solution retrospective
Hey fellow coders,
This is my first project from Frontend Mentor after escaping the "tutorial hell". Timed myself on this one and from start to finish it was roughly at the 2 hour mark.
Spent the last 30 minutes playing around with the border-top-color trying to use :nth-child() and :nth-of-type() on the &__content element, but couldn't figure it out so ended up using a @mixin.
I used different width px's for the Media Queries, is that alright?
How would you rate my code readability? Is it easy enough to understand?
Anything else I could have done to minimize reusing the same code pieces, or simply making it shorter?
This will be my first code review, so looking forward to any tips and tricks.
Thanks!
Community feedback
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