Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

QR code component HTML CSS JS

PhoenixDev22 16,990

@PhoenixDev22

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello community, I have completed another frontend mentor challenge. I learned a lot while making it .

  • I generated a QR code leading to my github page and added it to the back of the card (It's a flipped card ) .

  • I also used javascript for a flip function.

  • I prefered to use the svg for the QR code rather than an image , because it's much clearer.

  • I have some issues:

I set an explicit width and height to the card , if the remove the explicit width and height the card , all the elements would overlap. any suggestions to remove the explicit height and width without any issues?

I'd appreciate any comments for improvements or anything I've missed. Thank you in advance. Ps: The QR code is not valid anymore .

Community feedback

Cornflakes 290

@CornflakesPlus

Posted

Awesome flip, Phoniex! Although, I got a little scared looking at all that <svg> tags in the index.html file. Is it that hard to make an SVG? How long did it take you? I'm intimidated I tell you. 😆

1

PhoenixDev22 16,990

@PhoenixDev22

Posted

@CornflakesPlus

Hello Cornflakes,

Thanks for checking my solution,

For the QR code svg , I have used another website to generate a QR code for my Frontend mentor profile. Here is the website, I have used QR.ie. There are other websites do the same, you can look up for the one it suits you. The QR code generated, when it scanned, it navigates the user to my Frontend mentor profile and was only valid for one week.

Just fixed some accessibility issues, thanks to you as I haven't checked my solution a long time,

Glad to help and Happy coding.

1

@arthur11011

Posted

Great job @PhoenixDev22 , congratulations on completing the frontend mentor challenge! Using a QR code to link your GitHub page is a smart decision, very helpful as well to make your project more interactive and accessible.

In January I actually used a QR code in one of my projects in a very similar way. I created a digital portfolio with my web development work, and instead of listing my GitHub link, I included a QR code on the portfolio page. This QR would instantly take visitors to my CodePen page, allowing them to easily access my front-end web development projects. It's extremely user-friendly and adds a modern touch to your work:)

But I used another QR code generator, ViralQR. It proved to be a good one and worked without an issue, allowed me to create a dynamic QR code where I can change the information linked to QR code, very convenient! And makes me confident my code will still work in the long run.

What was your experience with the generator you used, do you think it has some advantages among others or did you just pick the first one you found? It will be great to hear your thoughts on the subject, thank you for sharing your experience with the community!

0
Naveen Gumaste 10,480

@NaveenGumaste

Posted

Hay ! PhoenixDev22 Good Job on challenge

0
Dev Rathore 2,600

@GitHub-dev12345

Posted

Congratulations 👍😊 complete your challenge,

Make your card looks very attractive used this code in your main card design css code

border-radius: 12px;

I hope you find this helpful

0

Please log in to post a comment

Log in with GitHub
Discord logo

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