The show() and hide() functions are the simplest way to reveal and hide elements. This can be done with an optional animation.
show(): Reveals the matched elements using an optional animationhide(): Hides the matched elements using an optional animationtoggle(): Toggles the visible state of the matched elements using an optional animation