Skip to content

Commit 60669a0

Browse files
committed
chrome.md
1 parent 8f3d6cf commit 60669a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sprint-1/4-stretch-explore/chrome.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ In the Chrome console,
1111
invoke the function `alert` with an input string of `"Hello world!"`;
1212

1313
What effect does calling the `alert` function have?
14+
->It creat a pop up with the word "Hello world!"
1415

1516
Now try invoking the function `prompt` with a string input of `"What is your name?"` - store the return value of your call to `prompt` in an variable called `myName`.
1617

1718
What effect does calling the `prompt` function have?
1819
What is the return value of `prompt`?
20+
-> It displays a dialog box in the browser asking the user to enter some input.
21+
The user can type a response and click "OK" or click "Cancel".

0 commit comments

Comments
 (0)