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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ In the Chrome console,
11
11
invoke the function `alert` with an input string of `"Hello world!"`;
12
12
13
13
To invoke an alert that lives in the engine v8; we need to
14
-
run `alert("Hi there!")`
14
+
run `alert("Hello word")`
15
15
16
16
17
17
What effect does calling the `alert` function have?
@@ -32,7 +32,7 @@ Now try invoking the function `prompt` with a string input of `"What is your nam
32
32
let myName = prompt("What is your name");
33
33
alert("hi " + myName);
34
34
35
-
The prompt function displays a modal dialog that captures user input. The value entered is stored in myName, and alert then displays a greeting that includes that value input captured by the variable myName.
35
+
The prompt function displays a modal dialog that captures user input. The value entered is stored in myName, and alert then displays a greeting that includes the value stored in the variable myName.
36
36
37
37
38
38
What effect does calling the `prompt` function have?
0 commit comments