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

Flex box

Happinessโ€ข 50

@Homorkhay

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


I used like up to two days to learn Flexbox. It gave me quite a tough time learning Flexbox How can I get better at CSS grid and Flexbox? Really want to be better at that for the moment. I'm still a newbie tho.

Community feedback

Abdul Khaliq ๐Ÿš€โ€ข 72,660

@0xabdulkhaliq

Posted

Hello there ๐Ÿ‘‹. Congratulations on successfully completing the challenge! ๐ŸŽ‰

  • I have other recommendations regarding your code that I believe will be of great interest to you.

QR iMAGE ALT TEXT ๐Ÿ“ธ:

  • The QR Code Component involves scanning the QR code, the image is not a decoration, so it must have an alt attribute which should explain the purpose of the image.
  • The alt with qr_code is not even explaining for what the QR image need to be used.
  • So update the alt with meaningful text which explains like QR code to frontendmentor.io
  • Example: <img src="/images/image-qr-code.png" alt="QR code to frontendmentor.io">

.

I hope you find this helpful ๐Ÿ˜„ Above all, the solution you submitted is great !

Happy coding!

Marked as helpful

0

Happinessโ€ข 50

@Homorkhay

Posted

@0xAbdulKhalid Thank you sir! I will make the necessary changes

0

Account Deleted

Hello Coder ๐Ÿ˜Š

Your solution is greatโœจ and congratulations for successfully completing an another newbie challenge๐ŸŽ‰

and there is a small suggestion that might be helpful for you

min-height :

You can use min-height instead of height

because height will put your element to a size of 100% of it's container. min-height will put the element to min 100% of the container size.

if we set min-height: 100vh then the main will start at 100vh, if the content pushes the main beyond 100vh it will continue growing. However if you have content that takes less than 100vh it will still take 100vh in space

and it will helpful when you make responsive solutions

QR code image : The alt attribute provides alternative information for an image if a user for some reason cannot view it and screen readers use the alt attribute to convey the message about the image

And here the qr code image is not for decoration and that's why you need to write a alt attribute value for it

<img src="images/image-qr-code.png" alt="qr code">

Hope that was helpful ๐Ÿ˜Š

Marked as helpful

0

Happinessโ€ข 50

@Homorkhay

Posted

@MrSandipSharma Thank you sir! I'm good now.. made the necessary changes ..I really appreciate this sir๐Ÿ™

0

Account Deleted

@Homorkhay

I am glad that was helpful for you ๐Ÿ˜Š

0
_nehal๐Ÿ’Žโ€ข 6,710

@NehalSahu8055

Posted

Hello Coder ๐Ÿ‘‹.

Congratulations on successfully completing the challenge! ๐ŸŽ‰

Few suggestions regarding design.

โžจ Your livesite url is incorrect. replace it with this url link

โžจ Use min-height instead of height in body.

โžจ Use Semantics for proper design of your code.

<body>
<header>
<nav>...</nav>
</header>
<main>...</main>
<footer>...</footer>
</body>

or alternatively

<body>
<div class="container" role="main">
/html code goes here: ๐Ÿ“ƒ
</div>
</body>

I hope you find this helpful.

Happy coding๐Ÿ˜„

Marked as helpful

0

Happinessโ€ข 50

@Homorkhay

Posted

Hi @NehalSahu8055 Thanks for the comment. I really appreciate but the project isn't about header and stuffs .. To use proper semantics you've mentioned above , I think the second one is better thank you.

1
_nehal๐Ÿ’Žโ€ข 6,710

@NehalSahu8055

Posted

@Homorkhay That's just a template you have to use the necessary stuff.

Always ready to help ๐Ÿ™‚

Marked as helpful

0
Happinessโ€ข 50

@Homorkhay

Posted

@NehalSahu8055 Ohh yes! Thank you sir!

0
Happinessโ€ข 50

@Homorkhay

Posted

@NehalSahu8055 Made the necessary changes. I'm good now .. Thanks for the assistance sir๐Ÿ™

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