Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

qr code using html css

gsap, next, node, vite, fetch
Aniket Jha•10
@aniketjha9179
A solution to the QR code component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


just used html and css to clone the qr code card used width 400px and height of 600 px and everything under the main container to create it

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Luis Saravia•20
    @lsara011
    Posted over 1 year ago

    Hey! im loving the effort on this when it comes to the preview page. I would center the first line of the content using text-align: center. I would also add some space using padding and margins as well. it looks really clumped up. I would center the actual product card using margin: 0 auto; and then text-align the product to center it.

    Hope this helps!

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
Frontend Mentor logo

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

Frontend Mentor

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

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub