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.
Screenshot for the desktop view.
Screenshot for mobile view
I first started by placing some divs to contain the image, paragraph title and the paragraph itself.
After that, I started to style the html by creating an external stylesheet, then i adjusted the style to mimic the design for desktop and mobile.
For the final touch, I adjusted the font sizes and color to make it look like the design preview and formatted the html and css files to make it clean.
- Non-semantic HTML5 markup
- CSS custom properties
- Flexbox
I learned how to use css custom properties (variables) to lessen code redundancy for the stylesheet.
I want this web page to be fully responsive in all devices in the future.
Alberto Miguel G. Arciaga