Skip to content

Commit 2706654

Browse files
committed
changes
1 parent 2dc31c3 commit 2706654

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sprint-2/4-mandatory-interpret/time-format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function formatTimeDisplay(seconds) {
1111
return `${pad(totalHours)}:${pad(remainingMinutes)}:${pad(remainingSeconds)}`;
1212
}
1313

14-
// You will need to play computer with this example - use the Python Visualiser https://pythontutor.com/visualize.html#mode=edit
14+
// You will need to play computer with this example - use the Python Visual https://pythontutor.com/visualize.html#mode=edit
1515
// to help you answer these questions
1616

1717
// Questions

Sprint-2/5-stretch-extend/format-time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ console.assert(
2424
`current output: ${currentOutput2}, target output: ${targetOutput2}`
2525
);
2626

27-
// Test of existing fuction
27+
// Test of existing function
2828
console.log("=== TESTING BUGGY FUNCTION ===");
2929
console.log(formatAs12HourClock("00:00"), "→ Expected: 12:00 am ❌"); // Bug: midnight
3030
console.log(formatAs12HourClock("12:00"), "→ Expected: 12:00 pm ❌"); // Bug: noon

0 commit comments

Comments
 (0)