The x on this banner allows you to close the message after reading. The yellow color is unique to website and this warning/message banner is excellent for special messages. If you close the banner and need to read again, you can refresh the browser using Ctrl R hot key.

Making use of the .on() method the first argument should be the native event name while the second argument should be the event handler function. Looking at the example from before, the .on() method is called in place of the .click() method. Now the click event name is passed in as the first argument inside the .on() method with the event handler function staying the same as before.