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
<!--
You must title your PR like this:
Region | Cohort | FirstName LastName | Sprint | Assignment Title
For example,
London | 25-ITP-May | Carol Owen | Sprint 1 | Alarm Clock
Fill in the template below - remove any sections that don't apply.
Complete the self checklist - replace each empty box in the checklist [ ] with a [x].
Add the label "Needs Review" and you will get review.
Respond to volunteer reviews until the volunteer marks it as "Complete".
Please note: if the PR template is not filled as described above, an automatic GitHub bot will give feedback in the "Conversation" tab of the pull request and not allow the "Needs Review" label to be added until it's fixed.
-->
## Learners, PR Template
Self checklist
- [x] I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
- [x] My changes meet the requirements of the task
- [x] I have tested my changes
- [x] My changes follow the [style guide](https://curriculum.codeyourfuture.io/guides/reviewing/style-guide/)
## Changelist
Sprint 2 directory: This project focuses on learning how to use JavaScript methods.
Questions.
## Questions
/
// d) Interpret line 4, what does the expression assigned to totalMinutes mean?
22
-
23
+
// This line removes the leftover seconds from the total movie length and then divides the result by 60 to convert the remaining time into whole minutes.
23
24
// e) What do you think the variable result represents? Can you think of a better name for this variable?
24
-
25
+
// The variable result stores the movie length formatted
25
26
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
27
+
// The code will work correctly for positive whole numbers representing seconds.
0 commit comments