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

Stats preview card component

Bilel 70

@Bilel-mwihbi

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello everyone 👋, hope you all are doing well !

Here is my solution for this challenge ... I ask if there is anything I can improve?

kind regards 👍

Community feedback

@VCarames

Posted

Hey there! 👋 Here are some suggestions to help improve your code:

  • For this challenge, you only need one source inside the picture element.
  • The images serve no other purpose than to be decorative; It adds no value. The alt tag should left blank and have an aria-hidden=“true” to hides it from assistive technology.

More Info:📚

https://www.w3.org/WAI/tutorials/images/

If you have any questions or need further clarification, feel free to reach out to me.

Happy Coding!🎄🎁

1

Bilel 70

@Bilel-mwihbi

Posted

Hello @vcarames thank you so much for replying 😄  , my question is : how should I know that image would serve a purpose(add a value) or not ? maybe if I write good descriptive "alt" element would solve the problem ?

thanks for considering my request 😊

0

@VCarames

Posted

@Bilel-mwihbi

Glad I could help!

The link I provided on the original comment should help with that.

Keep it up!

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