Skip to content

nisfu-saaban/QRcode-responsive-with-HTML-and-CSS-only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties

Note: These are just examples. Delete this note and replace the list above with your own choices

What I learned

Use this section to recap over some of your major learnings while working through this project. Writing these out and providing code samples of areas you want to highlight is a great way to reinforce your own knowledge.

To see how you can add code snippets, see below:

<div class="container">
    <picture class="QRcode-img">
      <img src="images/image-qr-code.png" alt="QRcode image" srcset="">
    </picture>
    <h2> Improve your front-end skills by building projects</h2>
    <p>Scan the QR code to visit Frontend Mentor and take your coding skills to the next level</p>
  </div>
body{
      font-family: Outfit,sans-serif;
      background-color: hsl(212, 45%, 89%);
      padding: 80px 0;
    }

    .container{
      background-color: hsl(0, 0%, 100%);
      border-radius: 1rem;
      padding: 1rem;
      width: 18rem;
      margin: auto;
    }

    .QRcode-img >img{
      border-radius: 1rem;
      width: 18rem;
    } 

    h2,p{
      text-align: center;
    }

    p{
      color: hsl(220, 15%, 55%);
      font-weight: 400;
    }

Continued development

this is not a final solution, theres way more easy to solve this problem, if u see this code, im gladly to achive some advice from u thanks 🫰.

Useful resources

  • Example resource 1 - This helped me for centering content. I really liked how easy for make content in center using margin.

Author

Acknowledgments

thanks for w3school, its help me alot, and thanks for kevin powel video, i can find goot place for practice to understand html and css

About

this is solution for frontend mentor challenge (QR code component)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published