Now that we can select an element with jQuery, we can use built-in jQuery functions to modify it. From here on, we will start building features into our skills website.
First off, it would be nice to make the page fade in when loaded.
To make a page fade in, it must first be hidden. We can hide elements with jQuery with a function named
hide elements with jQuery, like this:
- We attached the
hide function directly to the jQuery selector.
hide function will add the CSS property
display: none to the DOM element from the page, which will hide it.