Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Vlad Legkowski
9,882 PointsInitial state of overlay should be hidden
So, does it mean that we change 'remove'
display: none
after we are clicking
$("#ownersPictures a" ).click(function(event){ event.preventDefault(); var href = $(this).attr("href"); $overly.show();
});
I use code for my own project, and after applying display: none i dont get the overlay
1 Answer

Steven Parker
227,167 PointsYes, the show and hide JQuery functions do change the display
CSS property, and can optionally animate some of the other properties as well.
The JQuery API reference page has the complete documentation.
Vlad Legkowski
9,882 PointsVlad Legkowski
9,882 PointsI found my mistake, $overly.show(); , but can someone explain me this - does .show() change css property display?