Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

QR card componenet

Antoni•170
@antonistarzynski
A solution to the QR code component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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:

  1. Which option is a better & more elegant: a) css (background-image) b) semantic html ( img src="" )

  2. (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

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License