Submitted over 1 year ago
faq-accordion-card-main
@feliceNicolasBarcellona
Design comparison
SolutionDesign
Community feedback
- @pperdanaPosted over 1 year ago
Hello thereπ!! Congratulations on completing this challange.
- I have some additional recommendations for your code that I think you'll find interesting and valuable.
π Image element do not have
alt
attributes or you leave it blankfor example code
<img src="images/image-qr-code.png">
In this code you should add
alt
in your code<img src="images/image-qr-code.png" alt="qr code" >
- This
alt
attribute provides alternative text for images, which is important for accessibility purposes. Screen readers, use the alt attribute to read out loud what the image is about, allowing visually impaired users to understand the content of the page.
I hope you found this helpful! π
Happy codingπ€
Marked as helpful0 - @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.
COMPONENT MEASUREMENTS π:
- Use
min-height: 100vh
formain
instead ofheight: 98vh
. Setting theheight: 98vh
may result in the component being cut off on smaller screens.
- For example; if we set
height: 98vh
then themain
will have98vh
height no matter what. Even if the content spans more than98vh
of viewport.
- But if we set
min-height: 100vh
then themain
will start at100vh
, if the content pushes themain
beyond100vh
it will continue growing. However if you have content that takes less than100vh
it will still take100vh
in space.
.
I hope you find this helpful π Above all, the solution you submitted is great !
Happy coding!
Marked as helpful0 - @feliceNicolasBarcellonaPosted over 1 year ago
thank you for the feedback
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