Skip to content

London | May2025 | Fatima Z Belkedari | Module Structuring and Testing Data | Sprint 1#574

Closed
Farah-Stu wants to merge 18 commits intoCodeYourFuture:mainfrom
Farah-Stu:Sprint-1
Closed

London | May2025 | Fatima Z Belkedari | Module Structuring and Testing Data | Sprint 1#574
Farah-Stu wants to merge 18 commits intoCodeYourFuture:mainfrom
Farah-Stu:Sprint-1

Conversation

@Farah-Stu
Copy link

@Farah-Stu Farah-Stu commented Jun 18, 2025

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | PROJ_NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

Changelist

Implement courseWork exercises Sprint1

Questions

Ask any questions you have for your reviewer.

@Farah-Stu Farah-Stu added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 18, 2025
@Farah-Stu Farah-Stu changed the title London | May2025 | Fatima Belkedari | Sprint 1 London | May2025 | Fatima Z Belkedari | Module Structuring and Testing Data | Sprint 1 Jul 3, 2025
@LonMcGregor LonMcGregor added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 3, 2025
Copy link

@LonMcGregor LonMcGregor left a comment

Choose a reason for hiding this comment

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

Good answers on this sprint. I have left a few comments for you to answer to make sure that you fully understand everything.

Choose a reason for hiding this comment

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

Can you explain briefly why you made this change?

Choose a reason for hiding this comment

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

Good answers. From a) I think you've got most of them, but you might want to re-check what you are counting.

Choose a reason for hiding this comment

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

a) I think you are missing some declarations
b) You identify (movieLength - remainingSeconds /60;) as a function call - what is this calling? Are you sure there are 4 function calls
c) Are you sure this will be hours with minutes remaining? Remember what the original input of movieLength represents.
d) Good answer
e) Can you think of any values for movieLength where the code will not work properly?

Choose a reason for hiding this comment

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

Good exploration

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jul 3, 2025
@Farah-Stu Farah-Stu added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 3, 2025
Copy link

@LonMcGregor LonMcGregor left a comment

Choose a reason for hiding this comment

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

Thanks for making the changes. You can complete this sprint now

//e) the variable result represents the totalHours,remainingMinutes and remainingSeconds. A better name could be displayTime.
//f)Technically, it does handle the codes using the correct format that is HH:MM:SS
// for example, if the movieLength is 500 seconds, the format will still be displayed correctly as 0:8:20.But if we use a negative number, it will
// mess up the format.

Choose a reason for hiding this comment

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

Good work finding these edge cases

//a) There are 4 function calls.For instance:Number(carPrice.replaceAll(",", ""));
// Number(priceAfterOneYear.replaceAll("," ,""));
//umber(priceAfterOneYear.replaceAll("," ,""));
// console.log(`The percentage change is ${percentageChange}`);

Choose a reason for hiding this comment

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

Good work fixing the error in this file. You identified the lines which all have function calls.

@LonMcGregor LonMcGregor removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Reviewed Volunteer to add when completing a review with trainee action still to take. labels Jul 4, 2025
@LonMcGregor LonMcGregor added the Complete Volunteer to add when work is complete and all review comments have been addressed. label Jul 4, 2025
@Farah-Stu
Copy link
Author

Thank you for taking the time to review my work.I really appreciate the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants