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

Responsive article preview component

#react#tailwind-css#gatsby
Muniru Issahโ€ข 330

@MuniruIssah

Desktop design screenshot for the Article preview component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello guys, here's my shot at this challenge. I hope y'all like it. I welcome reviews as always.

Arigato.

Community feedback

Saad Hishamโ€ข 1,750

@Saad-Hisham

Posted

๐Ÿ‘Œ๐Ÿงผ A carbon copy clean work! Great job! ๐Ÿ‘

Just a small tip to make it even better - consider wrapping the card in a <main> tag instead of a <div>. This can greatly improve accessibility and make your content more inclusive. also it's better to add the image as HTML tag instead of making it background to the div

Keep up the great work! ๐Ÿš€

Marked as helpful

1

Muniru Issahโ€ข 330

@MuniruIssah

Posted

Thanks fam @Saad-Hisham

0
Abdul Khalid ๐Ÿš€โ€ข 72,100

@0xabdulkhalid

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.

POINTING CURSOR โ†—๏ธ:

  • Looks like the component's button element has not a pointer, this property plays a major-role in terms of both UI & UX
  • The cursor: pointer CSS property is important for button-like elements because it changes the cursor from the default arrow to a pointer when hovering over the element. This provides a visual cue to the user that the element is clickable and encourages interaction.
  • In terms of UI/UX, using cursor: pointer helps to improve the usability of the interface by making it easier for users to identify interactive elements. It also helps to provide feedback to the user by indicating which elements are clickable and which are not.
  • So we want to add this cursor-pointer tailwind utility class property to the social elements like facebook, twitter & pinterest
  • Now your component's button has got the pointer & you learned about this property as well

.

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

Happy coding!

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

@NehalSahu8055

Posted

Hello Coder ๐Ÿ‘‹.

Congratulations on successfully completing the challenge! ๐ŸŽ‰

Few Rules to consider:

To match with design drawer image.

.drawer{
object-fit:cover;
object-position:left;
}

Replace the code snippets and see the effect.

I hope you find this helpful.

Happy coding๐Ÿ˜„

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