Skip to content

Commit c90f935

Browse files
committed
Addressing review feedback
1 parent 96ee53f commit c90f935

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

Sprint-1/1-key-exercises/1-count.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ count = count + 1;
66
// Describe what line 3 is doing, in particular focus on what = is doing
77

88
//The right-hand side count + 1 is evaluated first to produce the value 1, then = assigns that results to count and overwrites the previous value of 0.
9+
// The one-term word for this is increment. Because we are adding 1 to the count variable.

Sprint-1/3-mandatory-interpret/1-percentage-change.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ console.log(`The percentage change is ${percentageChange}`);
2121
// b) Run the code and identify the line where the error is coming from - why is this error occurring? How can you fix this problem?
2222

2323
// The error is on line 5, where there is a syntax error in the replaceAll method call. The second argument is missing quotes.
24-
// To fix it, we need to add quotes around the empty string: replaceAll(",", "").
24+
// To fix it, replaceAll needs two string arguments, e.g. replaceAll(",", "")
2525

2626
// c) Identify all the lines that are variable reassignment statements
2727

Sprint-1/3-mandatory-interpret/2-time-format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ console.log(result);
1717

1818
// b) How many function calls are there?
1919

20-
// There are 2 function calls. Console.log() and the template literal used.
20+
// There are 2 function calls. Console.log().
2121

2222
// c) Using documentation, explain what the expression movieLength % 60 represents
2323
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ What effect does calling the `prompt` function have?
2222

2323
What is the return value of `prompt`?
2424

25-
- myName
25+
- The return value is stored in a variable called myName

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Answer the following questions:
2020

2121
What does `console` store?
2222

23-
- It stores different data such as debug ,error ,info , log, warn, etc.
23+
- `console` is an object that contains methods like log, errors, warn, info, and debug. etc.
2424

2525
What does the syntax `console.log` or `console.assert` mean? In particular, what does the `.` mean?
2626

0 commit comments

Comments
 (0)