✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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.)
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!