Skip to content

London | ITP-Jan-26 | Mohsen Zamani | Sprint 3 | practice tdd#923

Closed
mohsenzamanist wants to merge 5 commits into
CodeYourFuture:mainfrom
mohsenzamanist:coursework/sprint-3-practice-tdd
Closed

London | ITP-Jan-26 | Mohsen Zamani | Sprint 3 | practice tdd#923
mohsenzamanist wants to merge 5 commits into
CodeYourFuture:mainfrom
mohsenzamanist:coursework/sprint-3-practice-tdd

Conversation

@mohsenzamanist

Copy link
Copy Markdown

Learners, PR Template

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

Completed coursework/sprint-3-practice-tdd

Questions

@github-actions

This comment has been minimized.

@mohsenzamanist mohsenzamanist added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jan 31, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All functions are correctly implemented. Good job.

if (["11", "12", "13"].includes(last2Digits)) return `${num}th`;

const lastDigit = String(num).slice(-1);
const restOfNum = String(num).slice(0, -1);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This variable is unused. Can you remove it?

Note: In VSCode and in many IDEs, unused variables often appear in a different color in the editor.

@cjyuan cjyuan 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. labels Feb 12, 2026
@mohsenzamanist mohsenzamanist added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Feb 12, 2026
@cjyuan

cjyuan commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

LGTM.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Feb 12, 2026
@illicitonion

Copy link
Copy Markdown
Member

Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it.

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