Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

My First Frontend Mentor Project! - QR Code

#sass/scss

@HelloImAron

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Hassia Issah 50,810

@Hassiai

Posted

Replace <div class="card"> with the main tag, add the alt attribute alt=" " to the img tag and replace <p class="title"> with <h1> to fix the accessibility issue. click here for more on web-accessibility and semantic html

To center the .card on the page using flexbox, replace the height with min-height:100vh. there is no need to give the body a width value.

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

1

@HelloImAron

Posted

@Hassiai Thank you for the suggestions! I didn't do alt text for this since it's just a challange, not actual work (I'm not at the level to get any work in the field of frontend), but if it was, I'd definitely do alt texts and pay more attention to SEO and accessibility. And thanks for the tip :D

0
Alamin 1,960

@CodePapa360

Posted

Hi HelloImAron👋 Great job on completing this challenge! 🥳

  • One suggestion is to use tools like Autoprefixer. Autoprefixer is a tool that automatically adds vendor prefixes to your CSS code, based on the browser support you want to provide. It uses data from the Can I Use database to determine which prefixes are needed for a given CSS feature, and adds them to the code automatically, saving you from having to manually add and manage prefixes. Find Autoprefixer here.

Overall, this is a very well done solution to the challenge. Great job!

Hope I'm Helpful! 👍

Keep up the good work! 😊❤️

Marked as helpful

1

@HelloImAron

Posted

@CodePapa360 Thank you for the tip! I'll definitely incorporate it into my workflow! Just read the docs on it and it's awesome!

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join 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