Skip to content

Commit 2a33fa1

Browse files
author
Payman IB
committed
Chrome .md completed
1 parent 8257fa0 commit 2a33fa1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ 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+
"Hello world!" will be printed in a pop up box.
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`.
16-
1717
What effect does calling the `prompt` function have?
18+
A pop up window with the question and a place to input answer is opening.
1819
What is the return value of `prompt`?
20+
The input value will be returned by prompt() and stored in the variable myName.

0 commit comments

Comments
 (0)