Skip to content

ryyHardy/frontend-mentor-qr-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Screenshot

Links

My process

Built with

  • Semantic HTML
  • CSS

What I learned

In the HTML, I realized that a figure element would be a good choice. It allows for both an image and text, which is perfect for this component. I can see myself using figures a lot in the future. It allowed me to simplify it down to some very readable HTML. I also learned that you don't need Flexbox for everything.

<figure class="qr-card">
  <img src="images/image-qr-code.png" alt="QR Code" />
  <figcaption>
    <p class="qr-title">
      Improve your front-end skills by building projects
    </p>
    <p class="qr-desc">
      Scan the QR code to visit Frontend Mentor and take your coding
      skills to the next level
    </p>
  </figcaption>
</figure>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published