Skip to content

Commit 3001dbd

Browse files
author
JorvanW
committed
fixed spelling errors in 2-time-format.js
1 parent 98e7a51 commit 3001dbd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ console.log(result);
1919

2020
// c) Using documentation, explain what the expression movieLength % 60 represents
2121
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators
22-
//movie % 60 represents the remainder of the division of movielenght by 60.
22+
//movie % 60 represents the remainder of the division of movieLength by 60.
2323

2424
// d) Interpret line 4, what does the expression assigned to totalMinutes mean?
2525
// The expression is an Assignment operator that assigns its right hand side value and equation to the variable on the left hand side.
@@ -28,4 +28,4 @@ console.log(result);
2828
// The variable result represents the total hours,minutes and seconds of the movie. A better name for this could be runtime or duration.
2929

3030
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
31-
// This code will not work for values of movielength that are less than 60 seconds due to it needing to divide by 60 to get minuetes and hours.
31+
// This code will not work for values of movieLength that are less than 60 seconds due to it needing to divide by 60 to get minutes and hours.

0 commit comments

Comments
 (0)