You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sprint-1/4-stretch-explore/chrome.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,3 +16,11 @@ Now try invoking the function `prompt` with a string input of `"What is your nam
16
16
17
17
What effect does calling the `prompt` function have?
18
18
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