Skip to content

Commit 8a0ebbb

Browse files
committed
Fixed task 4-stretch-explore/chrome.md
1 parent 157a8ce commit 8a0ebbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ invoke the function `alert` with an input string of `"Hello world!"`;
1212

1313
What effect does calling the `alert` function have?
1414

15-
- It shows a modal pop-up box.
15+
- It shows a modal pop-up box with phrase `"Hello world!"`.
1616

1717
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`.
1818

@@ -22,4 +22,4 @@ What effect does calling the `prompt` function have?
2222

2323
## What is the return value of `prompt`?
2424

25-
- If user typed something in the text input field that'll be the return value with data type String, even if user typed numbers. If user pressed "Cancel" button, then value'll be null.
25+
- If user typed something in the text input field - that'll be the return value with data type String, even if user typed numbers. If user pressed "Cancel" button, then value'll be null. If user pressed "Ok" button but didn't type anytning then value'll be an empty string - ""

0 commit comments

Comments
 (0)