Skip to content

Sheffield | May-2025 | Declan Williams| Sprint-1 #496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

CatchingKiyoko
Copy link

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

Briefly explain your PR.

Questions

Ask any questions you have for your reviewer.

@CatchingKiyoko CatchingKiyoko added 📅 Sprint 1 Assigned during Sprint 1 of this module Needs Review Participant to add when requesting review labels Jun 9, 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 Participant to add when requesting review labels Jun 19, 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.

Hi, I've reviewed this PR. There are many good solutions here, however there are some points you could think about a bit more closely - I've left some pointer comments throughout for you to answer. Well done for making commits with good focused messages.

Choose a reason for hiding this comment

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

Instead of changing the pull request template text file, do you know where it would be better to place your PR comments so they show in the github UI?

Copy link
Author

Choose a reason for hiding this comment

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

when i send in the pull request i can then edit it there before posting.

Choose a reason for hiding this comment

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

Can you explain your choice for the changes you made in this file?

Copy link
Author

Choose a reason for hiding this comment

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

I made these changes because you can't start a variable with a number and it throws an error.
and two the changes to the times inside the variables because a 12 hour clock can only go to "12.59" and then goes back to "1" but i have noticed that i made the error of making the 12 hour clock as "AM" when the 24 hour clock tells me its "PM" and not "AM".

Choose a reason for hiding this comment

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

a) You have identified the lines where there are function calls. Are you sure there are only 3? How do you decide when something is a function call?
b) c) d) Good answer
e) Good detailed explanation!

Copy link
Author

Choose a reason for hiding this comment

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

a) i did believe there was only 3 function calls as i was overlooking the function "number" and just thinking of the .replaceAll functions on lines 4 and 5 after going over it with the teacher during workshop. so the total of functions being called is 5 in total (on lines 4 and 5 there is two function calls in each line and then the last function being called is the console.log on line 10)

Choose a reason for hiding this comment

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

a) How is the program calculating the number of hours in a film?
b) When you see the result of this code running, how do you see it?
c) d) good answer
e) How do you think your suggestion of movieDuration compares to the earlier movieLength - is it clear what is different between these?
f) Can you find any cases where the result might not look like what we typically expect when dealing with time formats?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Jun 19, 2025
@CatchingKiyoko CatchingKiyoko added Needs Review Participant to add when requesting review and removed Reviewed Volunteer to add when completing a review labels Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review Participant to add when requesting review 📅 Sprint 1 Assigned during Sprint 1 of this module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

03 Complete Sprint 1 Coursework
2 participants