Https://www.codecademy.com/courses/learn-jquery/projects/gameboard

When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

https://www.codecademy.com/courses/learn-jquery/projects/gameboard

Code:-

var main = function() {

$(’.more-btn’).on(‘click’, (event) => {

$(event.currentTarget).siblings('.more-menu').toggle();

});

$(’.share’).on(‘click’, (event) => {

$(event.currentTarget).next().toggle();

})

};

$(document).ready(main);

probelm :
I am facing a problem with this tutorial even after following the video I am still stuck can anyone please help me the share button doesn’t work even after?

and after clicking the more button the page scrolls to the top to take the effect which is unnecessary