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

Article Preview Component

khalagai 300

@khalagai

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


What are you most proud of, and what would you do differently next time?

Creating the floating social links element.

What challenges did you encounter, and how did you overcome them?

Creating the floating social links element. I used absolute position to manipulate it.

What specific areas of your project would you like help with?

I couldn't set the arrow part of the floating element fixed directly over the share image when resizing the screen. I would appreciate help with that.

Community feedback

P

@Arnotts33

Posted

Hi!

Well done on finishing this challenge!

Your HTML structure is good and readable. Maybe try to use semantic HTML next time to improve readability and accessibility.

A few hints on how you could get closer to the preview:

  • Drawer image: You could try to modify image width and/or its object-fit property.
  • Elements spacing: Your elements look too big and it creates too much space between them. I think a good practice is to set their margin to 0 when setting CSS.

Hope that helps!

Marked as helpful

1

khalagai 300

@khalagai

Posted

@Arnotts33 thank you. will practice more on that.

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