JavaScript

Step 9: Verify that clicking the button calls the function by adding the following in the function:
console.log(`hello world`)
The function should look like:
function doSomething() {
  console.log(`hello world`)
}
Refresh your webpage, and click the button on the page. The message should appear in the console in the bottom right.
Last step Next step