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

QR code component

Bentsiwaโ€ข 60

@Miss-Bentil

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


Hello I am quite new at this. So please help make any corrections if need be. Thank you

Community feedback

Lucas ๐Ÿ‘พโ€ข 104,420

@correlucas

Posted

๐Ÿ‘พHi Bentsiwa, congratulations for your first solution!๐Ÿ‘‹ Welcome to the Frontend Mentor Coding Community!

Great solution and great start! By what I saw youโ€™re on the right track. Iโ€™ve few suggestions to you that you can consider to add to your code:

The html structure is fine and works, but you can reduce at least 20% of your code 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 Image" >
 <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>

Save your time using a CSS RESET to remove all default settings that are annoying as the margins, paddings, decorations and optimize it making easier to work,see the article below where you can copy and paste this css code cheatsheet: https://piccalil.li/blog/a-modern-css-reset/

โœŒ๏ธ I hope this helps you and happy coding!

Marked as helpful

1

Bentsiwaโ€ข 60

@Miss-Bentil

Posted

@correlucas thank you Lucas

0
Adrianoโ€ข 34,090

@AdrianoEscarabote

Posted

Hi Bentsiwa, how are you?

I really liked the result of your project, but I have some tips that I think you will like:

To further improve the responsiveness of the project, we can do the following:

withdrew:

@media (max-width: 500px)
.container {
    /* width: 400px; */
}

Do the test!

The rest is great!

Hope it helps...๐Ÿ‘

Marked as helpful

0

Bentsiwaโ€ข 60

@Miss-Bentil

Posted

@AdrianoEscarabote Hello Adriano it helps thank you ๐Ÿ™๐Ÿพ

1
Bentsiwaโ€ข 60

@Miss-Bentil

Posted

@AdrianoEscarabote Hii sorry. Could you explain thatโ€ฆ because what you just typed for the media query is the same as the one in the code

1
Adrianoโ€ข 34,090

@AdrianoEscarabote

Posted

@Miss-Bentil yes, but I commented out the code, comment the code I commented and test the responsiveness!

Marked as helpful

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