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.
Note: Delete this note and update the table of contents based on what sections you keep.
I started by creating the HTML structure and then I added the CSS styles. I started by creating the main container and gave him round corners. I added the QR code img inside of it and the text. I place the container in the center of the screen with absolute positionning. I added the background color and the shadow. I added the font for the text and made small aesthtics adjustements.
- Semantic HTML5 markup
- CSS custom properties
I learned how to center a div in CSS with absolute positionning. I also learned how to use the box-shadow property.
- Frontend Mentor - @bastienfntn
- Ghithub - @bastienfntn