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

Blog Preview Card using CSS Flex

Parkavan C Kโ€ข 50

@Parkavan2003

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

rayaโ€ข 2,850

@rayaatta

Posted

Hi Parkavan C K๐Ÿ‘‹, congratulations on completing another challenge ๐ŸŽ‰

Ignoring the information I told you on the other challenge.

Here are some suggestions.

1 I noticed <p class="date">Published 21 Dec 2023</p>

when a screen reader pronounces the above paragraph. It reads. 21 Dec 2023 as it is. This should be wrapped in

<time datetime="2023-12-21">21 Dec 2023</time>

This is machine readable therefore it is more accessible. To find out more about the time tag check out this article๐Ÿ“‘.

2 Since the avatar image is not decorative fill its alt attribute with the name of the person on the image i.e alt="Greg Hooper"

I hope this helps ๐Ÿ™ƒ

Otherwise nice solution ๐Ÿ‘

Marked as helpful

0

Parkavan C Kโ€ข 50

@Parkavan2003

Posted

Hi @rayaatta, what did you mean in the 1st suggestion. Can I give class name as "date", Its correct or not.

0
rayaโ€ข 2,850

@rayaatta

Posted

Its okay to name a class anything you like. The only issue is surrounding the 21 Dec 2023 inside a time tag@Parkavan2003

0
Marcos Travagliniโ€ข 4,920

@Blackpachamame

Posted

Greetings @Parkavan2003! I think your solution is very accurate, I simply have not found errors in the design, but I can tell you about accessibility.

You should add the alt attribute to your images with a brief description of what each image represents. When writing alt text, keep in mind that its purpose is to relay information to blind users about the imageโ€™s contents and purpose - blind users should be able to get as much information from alt text as a sighted user gets from the image itself. Alt text should give the intent, purpose, and meaning of the image. More info

Marked as helpful

0

Parkavan C Kโ€ข 50

@Parkavan2003

Posted

Thanks so much for your feedback, its really helpful for me @Blackpachamame

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