It is possible to call functions based on Events
Click on the paragraph above to trigger an onclick event. Reload the page to see an onload event