Fisrt time using Sass

Solution retrospective
First time using Sass. If you have some tips, please, be my guest.
I have one question. When I load the page I need to click two time to the share button to it pop up. Then, in the sequence clicks it work propely. Not sure why this is hapening, any guess?
Please, don't be shy and give me feedback :)
Thanks in advance!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @anoshaahmed
Hey good job on this challenge! Your report above shows a few issues. You can fix them by
- wrap everything in your body in
<main>
... OR use semantic tags! .... you can also giverole=""
to the direct children of your<body>
but that's a little frowned upon... Read more here
Hope this helps :)
Marked as helpful - wrap everything in your body in
- @awexli
Hi Murilo,
Looking at your
openShareIcons
function. The reason why it doesn't open the first time is because by defaultshare.style.display
does not equal to"none"
, and so it will execute theelse
block.Marked as helpful
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