Skip to content

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

Open
mohsenzamanist wants to merge 5 commits intoCodeYourFuture:mainfrom
mohsenzamanist:coursework/sprint-3-practice-tdd
Open

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

Conversation

@mohsenzamanist
Copy link

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
Copy link
Contributor

@cjyuan cjyuan left a comment

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
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
Copy link
Contributor

cjyuan commented Feb 12, 2026

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
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.

2 participants