Design comparison
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
- @0xabdulkhaliqPosted over 1 year ago
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 theimage
.
- The
alt
withqr_code
is not even explaining for what the QR image need to be used.
- So update the
alt
with meaningful text which explains likeQR 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 helpful0@HomorkhayPosted over 1 year ago@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 spaceand 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 helpful0@HomorkhayPosted over 1 year ago@MrSandipSharma Thank you sir! I'm good now.. made the necessary changes ..I really appreciate this sir๐
0Account deleted@Homorkhay
I am glad that was helpful for you ๐
0 - @NehalSahu8055Posted over 1 year ago
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 ofheight
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 helpful0@HomorkhayPosted over 1 year agoHi @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@NehalSahu8055Posted over 1 year ago@Homorkhay
That's just a template you have to use the necessary stuff.Always ready to help ๐
Marked as helpful0@HomorkhayPosted over 1 year ago@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 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