Click each button will popup a toast message. Example 1: This example calls both funtions by mentioning their names with the onclick event … There are several ways of creating an HTML button, that acts like a link (i.e., clicking on it the user is redirected to the specified URL). JavaScript Two Buttons Two onClick Functions I need to add a button that deletes list times from base code that adds items to a to-do list. This page shows how to make HTML button links with onclick and href using the