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

Webpage for qr code

#accessibility

@Erkhembayar-Atarbold

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What can I do next to improve my FE skills? Are my class names understandable? What did you find difficult while building? Which areas of your code are you unsure? Do you have any questions about best practices?

Community feedback

Lucas πŸ‘Ύβ€’ 104,540

@correlucas

Posted

πŸ‘ΎHi @Erkhembayar-Atarbold, congratulations on your solution!πŸ‘‹ Welcome to the Frontend Mentor Coding Community!

Great solution and a great start! From what I saw you’re on the right track. I’ve few suggestions for you that you can consider adding to your code:

Reduce your code by removing unnecessary elements. The HTML structure is working but you can reduce at least 20% of your code by cleaning the unnecessary elements, you start cleaning it by removing some unnecessary <div>. For this solution you wrap everything inside a single block of content using <div> or <main> (better option for accessibility) and put inside the whole content <img> / <h1> and <p>.

<body>
<main>
<img src="./images/image-qr-code.png" alt="QR Code Frontend Mentor" >
 <h1>Improve your front-end skills by building projects</h1>
<p>Scan the QR code to visit Frontend Mentor and take your coding skills to the next level</p>
</main>
</body>

Here's my solution for this challenge if you wants to see how I build it: https://www.frontendmentor.io/solutions/qr-code-component-vanilla-cs-js-darklight-mode-nS2aOYYsJR

✌️ I hope this helps you and happy coding!

0
Kamasah-Dicksonβ€’ 5,610

@Kamasah-Dickson

Posted

  1. Your solution looks great but not responsive. Use max-width for your card instead of just width .
  2. Don't use px for card widths, use rem to achieve responsiveness.
  3. To help with the accessibility issues wrap your card in a main semantic tag.
  4. Your footer must be text align center.
  5. Bonus: Headings must be used in reducing order e.g h1,h2,h3,h4 do not mixed them up they should be used in descending order.
  6. Your p should be text align center. You are doing great manπŸ‘

Happy coding and have a nice dayπŸ‘

0

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