logo

Crowdly

Create 2 buttons on a web page: "Console Hi" and "Alert Hi". When the user...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Create 2 buttons on a web page: "Console Hi" and "Alert Hi".

When the user clicks on the button "Console Hi", display a message to the console: "Hi there! JavaScript is cool!"

When the user clicks on the button "Alert Hi", an alert window will appear and it displays the same message: "Hi there! JavaScript is cool!"

(If you are using Chrome, to view the Console, right click on the web page and select "Inspect", then click on the "Console" tab. If you are using Firefox, to view the Console, right click on the web page and select "Inspect Element", then click on the "Console" tab.)

More questions like this

Want instant access to all verified answers on moodle.uowplatform.edu.au?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!