An element gets a click function when a pointing machine button (like a mouse's Major mouse button) is both pressed and released though the pointer is found In the aspect. The click event occurs when an element is clicked. The click() method triggers the click function, or attaches a functionality https://johnnypbmxg.bloggazza.com/20095854/click-things-to-know-before-you-buy