Skip to content

CApe Town | May -ITP-26| Enice Mutanda|Sprint 1|Coursework#1386

Open
Enice-Codes wants to merge 6 commits into
CodeYourFuture:mainfrom
Enice-Codes:coursework/sprint-1
Open

CApe Town | May -ITP-26| Enice Mutanda|Sprint 1|Coursework#1386
Enice-Codes wants to merge 6 commits into
CodeYourFuture:mainfrom
Enice-Codes:coursework/sprint-1

Conversation

@Enice-Codes

@Enice-Codes Enice-Codes commented Jun 22, 2026

Copy link
Copy Markdown

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

identified and correct errors
interpreted javascript
evaluated expressions
used Dev tools to answer the questions based on excercise

@github-actions

This comment has been minimized.

@Enice-Codes Enice-Codes added 📅 Sprint 1 Assigned during Sprint 1 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jun 22, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 22, 2026
@github-actions

This comment has been minimized.

@Enice-Codes Enice-Codes force-pushed the coursework/sprint-1 branch from 331a9b4 to c8de3b5 Compare June 25, 2026 21:40
@Enice-Codes Enice-Codes force-pushed the coursework/sprint-1 branch from c8de3b5 to 49f8a23 Compare June 25, 2026 22:07
@Enice-Codes Enice-Codes added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 25, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 25, 2026
@Enice-Codes Enice-Codes added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 27, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 27, 2026
@Enice-Codes Enice-Codes added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 27, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 27, 2026
@github-actions

This comment has been minimized.

@Enice-Codes Enice-Codes added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Structuring-And-Testing-Data The name of the module. labels Jun 27, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 27, 2026
@Enice-Codes Enice-Codes added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 27, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 27, 2026
@Enice-Codes Enice-Codes added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 27, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Jun 29, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work on the stretch explore tasks.

I've left some comments for you to follow up with the interpreting tasks

// Read the code and then answer the questions below

// a) How many function calls are there in this file? Write down all the lines where a function call is made
//one function call in line 4 ,5

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there are a few more function calls to find

// e) What do you think the variable result represents? Can you think of a better name for this variable?

// the variable result represents the total length of the movie in hours and minutes.
//Better name is MOvieTime.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the name movieTime give a good idea of how this new variable is different to the original movieLenght?

//Better name is MOvieTime.
// f) Try experimenting with different values of movieLength. Will this code work for all values of movieLength? Explain your answer
// Yes, this code will work for all values because it is using the modulus operator to calculate the remaining seconds and is using division to calculate the total hours.
// The code will correctly handle any length of movie in seconds and convert it to the appropriate format.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may run without any errors, but does it always end up in the correct format? Are there any edge cases?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Structuring-And-Testing-Data The name of the module. Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 1 Assigned during Sprint 1 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants