Skip to content

Commit cc758a3

Browse files
authored
Update chrome.md
1 parent b59a3a9 commit cc758a3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,14 @@ 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-
14+
## Got a popup - "chrome://new-tab-page says"
15+
## Hello world!
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?
19+
## Got Got a popup "chrome://new-tab-page says"
20+
## Title is "What is your name?"
21+
## Got a box for input
1822
What is the return value of `prompt`?
23+
## Return value of promptis a string 'Ayo'
24+
## It user clicks "Cancel" instead of "OK"?, the retun valuu is null

0 commit comments

Comments
 (0)