Design comparison
Solution retrospective
Took me around 5 hours total, with 1/2 hours of that spent on finding the best solution for the card behinds, eventually went with pseudo element (::before), my question in regards to this is there a better way to do it? Also, first time using BEM class naming system, definitely makes for cleaner and more readable CSS. To use the data from the JSON file I decided on using the fetch() JS method.
All feedback welcomed and much appreciated.
Community feedback
- @mec94Posted almost 3 years ago
If I had to do it again I would choose the pseudo element. Another guy solved it that way too.
1@fitzgibbonjackPosted almost 3 years ago@mec94 does seem to be the best solution out of the ones i could think of. I like how this implementation keeps the icon purely decorative and free from semantics by not being physically present in the DOM.
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