Design comparison
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!
Community feedback
- @anoshaahmedPosted almost 3 years ago
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 helpful1@mlzziPosted almost 3 years ago@anoshaahmed Thanks
I changed the HTML. The issue was that the attribution were a div tag, but I changed it to footer. Not sure if it is a footer. Haha But thank for your feedback.
I really appreciated!
1 - wrap everything in your body in
- @awexliPosted almost 3 years ago
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 helpful1@mlzziPosted almost 3 years ago@awexli Thanks Alex,
I inverted the blocks conditions and now it works fine.
Best regards!
1
Please log in to post a comment
Log in with GitHubJoin 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