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

vanilla js, SASS, BEM notation

MichalTrubini 1,220

@MichalTrubini

Desktop design screenshot for the Article preview component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

MikevPeeren 2,100

@MikevPeeren

Posted

Hey 👋

Good job, my only comment would be to add a transition to the share modal so it appears nicely in view.

Marked as helpful

0
MichalTrubini 1,220

@MichalTrubini

Posted

Hi David,

Instead of switching between "display:none/display:block", I set the opacity to 0 by default. When a user clicks on the button, the opacity is set to 1 with "transition: opacity 0.5s".

;-)

0
MichalTrubini 1,220

@MichalTrubini

Posted

Hey Mike,

Thanks for the suggestion! Animation is now there.

0

Account Deleted

@MichalTrubini Nice animation, how did you manage to do 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