Skip to content

A beginner challenge from "Frontend Mentor", where I created a basic QR code card element with HTML and CSS

Notifications You must be signed in to change notification settings

L4r4TW/QRCode-html-element

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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

  • HTML5
  • CSS3
  • Flexbox
  • Mobile-first workflow

What I learned

I understood the basics of Flexbox. This project also helped me see how widely used HTML and CSS cards are created.

Here is an example of the flexbox I used:

#card{
    display: flex; /* use flexbox */
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
    flex-direction: column;
    max-width: 350px;
    border-radius: 20px;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 5px 5px 50px rgba(0, 0, 0, 0.1);
}

Continued development

The usage of different CSS units (% ,rem, em, vw, etc.) can be a bit overwhelming, so I want to improve my understanding of this topic. I will also practice responsive design.

Useful resources

  • How To Create Animated CSS Cards - This video helped me to understand the basics of HTML and CSS cards.
  • rajkmlcodes's solution - @rajkmlcodes made a beautiful solution to this project, and he gave me inspiration at the beginning
  • ChatGPT - If i struggle with a problem, ChatGPT always helps me to start finding the solution

Author

About

A beginner challenge from "Frontend Mentor", where I created a basic QR code card element with HTML and CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published