QR card componenet

Solution retrospective
Hello everybody,
This is my first attempt to html/css after learning for the past few weeks ( also to GitHub ) so please have mercy :) Two questions from the beginner.
Questions:
-
Which option is a better & more elegant: a) css (background-image) b) semantic html ( img src="" )
-
(units) Which solution is more useful : a) "rems" everywhere ( parent & childs ) b) mixed "rems" ( parents) & "ems" (childs)
I you have some time to look by more experienced eye at my code ( in general ) I would be very thankful for all kind of advices & remarks.
Thank you! Antek
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Antoni's solution.
Join 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