Skip to content

lauyc-c/qr-code-component

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

Overview

Screenshot

Image of the QR code webpage

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid

What I learned

Throughout this project, element sizing and flexbox were used to style the webpage. Some of the notable code include:

body {
    background-color: #d6eaf8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-width: 100vw;
}

div {
    background-color: #ffffff;
    text-align: center;
    width: 20%;
    border-radius: 5%;
    padding: 20px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-self: center;
}

Continued development

Currently, the QR code is not displayed in full when the window is shrunk to a certain size, while the background of the body element is still shown. Specific code on flexbox will have to be further acquired and applied in order to allow the main contents to take up a minimun size of the whole window.

Useful resources

  • The Web Developer Bootcamp 2023 - This taught me basic HTML and CSS for me to complete this project. The Pricing Panel Code-along helped me familiarise with the concepts of flexbox.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published