Skip to content

Commit 9264771

Browse files
add explanations for the effects of the prompt function and its return value
1 parent 62b453f commit 9264771

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
@@ -15,4 +15,7 @@ What effect does calling the `alert` function have?
1515
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`.
1616

1717
What effect does calling the `prompt` function have?
18+
It generates an input field
19+
1820
What is the return value of `prompt`?
21+
whatever is introduced int hte input field

0 commit comments

Comments
 (0)