Skip to content

Commit 5e06e8c

Browse files
committed
Add results section to document outcomes of alert and prompt functions in Chrome
1 parent 32d7119 commit 5e06e8c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,11 @@ Now try invoking the function `prompt` with a string input of `"What is your nam
1616

1717
What effect does calling the `prompt` function have?
1818
What is the return value of `prompt`?
19+
20+
MY RESULTS:
21+
22+
After running the alert function the browser to immediately open a pop up box at the top of the screen displaying what i inputted 'Hello World!'.
23+
24+
After running the prompt 'let myName = prompt("what is your name") the browser opened a pop up window that allowed me to type in my name and it was saved after clicking OK.
25+
26+
Running the 'prompt' "myName" the browser displayed the name i inputted in the console immediately.

0 commit comments

Comments
 (0)