Skip to content

igafshell/frontendmentor-qrcode-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - QR code component solution

This is a solution to the QR code component challenge on Frontend Mentor. Done by igafshell

Table of contents

Overview

This is a stylish qr code component that can be used in all sorts of layouts.

Screenshot

Links

  • Live Site URL: Here

My process

I started with writing the html layout. The basic structure consists of a <main> element that serves the role of a container with 2 children elements - the qr code <img> element and a <div .text> containing all the text.

Then I started with the css. First, I centered the <main> using flexbox on the <body> and gave the container a fixed size. Then I went on to arranging the elements inside the container and for that I used flexbox too. I gave the <img> width: 100%; to fit the size of the container and the .text some margins and styling.

Built with

  • Semantic HTML5 markup
  • Basic Flexbox
  • Flexbox

What I learned

I learned how to use basic flexbox proprieties and how to arrange elements inside a container using flexbox, paddings and margins. Also, I learned how to use frontendmentor.com, which has been a very interesting experience, and learn how to use Git and GitHub, which I haven't used before.

Continued development

For my next projects, I will focus more on:

  • Mastering basic css, flexbox and grid
  • Getting more familiar with Git
  • Writing more readable code

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published