Skip to content

Commit 9663fde

Browse files
Configure format on save and fix formatting
1 parent 8c04eec commit 9663fde

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎Sprint-2/1-key-exercises/2-initials.js‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
const firstName = "Creola";
22
const middleName = "Katherine";
33
const lastName = "Johnson";
4-
const initials = `${firstName.charAt(0)}` + `${middleName.charAt(0)}` + `${lastName.charAt(0)}`;
4+
const initials =
5+
`${firstName.charAt(0)}` +
6+
`${middleName.charAt(0)}` +
7+
`${lastName.charAt(0)}`;
58
console.log(`${initials}`);
6-

‎Sprint-2/4-stretch-explore/chrome.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ alert(): shows the message to the users. in this case show "Hello world!" in the
1212

1313
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`.
1414

15-
What effect does calling the `prompt` function have?
15+
What effect does calling the `prompt` function have?
1616
prompt(): returns whatever the user enters. It is provide a textbox that we can type on it.
1717
What is the return value of `prompt`?
1818
The Return value of prompt is the text enter by user. in this example return name that we write in the box.

‎Sprint-2/4-stretch-explore/objects.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ What does `console` store?
1919
console stores object. It stores a collection of methods that allow you to interact with the browser's developer console.
2020
what does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
2121
access the log property/method of the console object.
22-
access the assert method of the console object.
22+
access the assert method of the console object.

0 commit comments

Comments
 (0)