Design comparison
SolutionDesign
Community feedback
- @kareemsakrPosted 2 days ago
If you wanna do things by the book, try avoiding divs and spans as much as possible. It helps with accessibility. Check the below but keep the html specification as your main guide. Everything else looks good to me
<body> <main class="main-card"> <header class="img-container"> <img src="./images/image-qr-code.png" alt="QR code" class="qr-code" /> </header> <h2 class="card-title"> Improve your front-end skills by building projects </h2> <p class="card-text"> Scan the QR code to visit frontend Mentor and take your coding skills to the next level </p> </main> </body>0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord