A pop-up window

Report a typo

Imagine that we want to go to the Hyperskill site and display a pop-up window with the message Hello, Hyperskill and two buttons, OK and Cancel. Then we display on the screen which button the user pressed.

What should be in place of the missing values in the parentheses?

open("https://hyperskill.org/");
button = (...);
if (button) {
    console.log(...);
} else {
    console.log(...);
}
Select one option from the list
___

Create a free account to access the full topic