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.
- Live Site URL: QRCode card element
- HTML5
- CSS3
- Flexbox
- Mobile-first workflow
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);
}
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.
- 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