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.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
I learned how clean and useful using variables in styling can be, and how it can help speed up the process.
I learned that it is not necessary to define a class or ID for every HTML tag. To style it like this, we first need to check whether our tag is unique and not repeated. If it is unique and not repeated, we use the name of the same tag in CSS for styling. Like this:
<h1>Improve your front-end</br>skills by building projects</h1>
h1{
font-size: larger;
font-weight: var(--outfit-bold);
color: var(--qr-heading-color);
}
I like to immerse myself in creating animations with CSS and then move on to creating various functions with JavaScript.
- htmlcolors.com - To convert a color value from HSL to HEX.
- www.cssmatic.com - So that you can more easily create a box and make it exclusive.
- Linkedin - zahra ehsani
- Frontend Mentor - @ehsanidev
- Threads - @zhrehsniweb
I thank Frontend Mentor for providing this platform where people from all over the world can develop their skills.