@fidellim
Posted
Hi @FlorianJourde,
Great job finishing the project! It looks great on desktop and mobile devices. Great use of animation too! One suggestion I would like to say is that on the desktop view, you can probably let the share overlay stay until the user presses the share button again. It seems to disappear after a few seconds.
Marked as helpful
@fidellim Thanks for the suggestion but... I didn't know how to do that, ahah ! I only found setTimeout
function... Have you any suggestion to do this ? By the way, I didn't want to spend so much time, to begin the next challenge quickly !
Edit: Maybe simply an onclick
, instead of mouseover
& mouseleave
?!
@fidellim
Posted
@FlorianJourde Yes, you can use the onlick event. Then inside that, you can use the toggle function to show or hide the overlay. You can have a look at this link to have an idea on toggle function. :)
Marked as helpful