jQuery enables us to add effects on a web page. jQuery effects can be categorized into fading, sliding, hiding/showing, and animation effects. jQuery provides many methods for effects on a web page
These are the effects methods used in jQuery:
show() - It displays or shows the selected elements.
hide() - It hides the matched or selected elements.
toggle() - It shows or hides the matched elements. In other words, it toggles between the hide() and shows () methods.
fadeIn() - It shows the matched elements by fading it to opaque. In other words, it fades into the selected elements.
fadeOut() - It shows the matched elements by fading it to transparent. In other words, it fades out the selected elements.