Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

Responsive qr code component in ReactJS

bootstrap, react, node
Rahul Goel•150
@RahulGoel2002
A solution to the QR code component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Frontend Mentor - QR code component solution

This is a solution to the QR code component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

  • Overview
  • Links
  • My process
  • Built with
  • What I learned
  • Continued development
  • Author
  • Acknowledgments

Overview

Links

  • Live Site URL: live site
  • Solution Repo : fem-qr-code-component

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • React - JS library
  • Next.js - React framework
  • Styled Components - For styles

What I learned

Being a beginner at front end development, I already knew many concepts that helped me throughout this challenge. One thing that I learnt particularly from this project is to adopt the mobile first approach as that makes our work a whole lot easier.

Continued development

Use the movile first approach in more projects to make them stand-out. Also work with some more complex structures

Author

  • Website - Rahul Goel
  • Frontend Mentor - @RahulGoel2002

Acknowledgments

A deep note of thanks to my mentor Angela Yu from the Udemy course The Complete 2023 Web Development Bootcamp. A deep note of thanks to my partner as well for supporting me in every aspect of my life.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Abdul Khaliq 🚀•72,380
    @0xabdulkhaliq
    Posted almost 2 years ago

    Hello there 👋. Congratulations on successfully completing the challenge! 🎉

    • I have other recommendations regarding your code that I believe will be of great interest to you.

    QR iMAGE ALT TEXT 📸:

    • Since this component involves scanning the QR code, the image is not a decoration, so it must have an alt attribute.

    • The alt attribute should explain the purpose of the image.

    • E.g. alt="QR code to frontendmentor.io"

    <img src="/images/image-qr-code.png" alt="QR code to frontendmentor.io">
    

    .

    I hope you find this helpful 😄 Above all, the solution you submitted is great !

    Happy coding!

    Marked as helpful
  • _nehal💎•6,710
    @NehalSahu8055
    Posted almost 2 years ago

    Hello Coder 👋.

    Congratulations on successfully completing the challenge! 🎉

    Just a small suggestion.

    • For non-decorative images give meaningful and descriptive alt like alt= "QR code to frontend mentor website".

    I hope you find this helpful.

    Happy coding😄

    Marked as helpful

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

Oops! 😬

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

Log in with GitHub