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`)
}
After clicking the run button, open the console by clicking the DevTools button in the top right. Click the button on the page, and the message should appear in the console in the bottom right.
Last step Next step