Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

QR code component with hover and shine animations

Ujjwal Joshi•30
@Git-DEmiGoD
A solution to the QR code component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am proud of the cool scanning animation I have added to the QR code image, that brings this static component to life.

If I were to redo this project then I would make code more reacdabale with better names and better naming

What challenges did you encounter, and how did you overcome them?

the layout was easy for me, even the hover states and rest of the design was easy, only applying styles selectively like "animation only on hover" was the part that took me some research and time,

I overcame this issue by executing the concept of event listener, googled what events are fired when the mouse hovers over an element and when mouse exits an element, and simply provided styles to the appropriate element on the trigger of these elements

What specific areas of your project would you like help with?

i would like help in how to write readable code, and how to provided styles and animation neatly

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 Ujjwal Joshi'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