Skip to content

Glasgow | 25-ITP-May | Arthur Chan | Sprint 3 | practice-tdd#1406

Open
Motorcycle-lab wants to merge 5 commits into
CodeYourFuture:mainfrom
Motorcycle-lab:clean-practice-tdd
Open

Glasgow | 25-ITP-May | Arthur Chan | Sprint 3 | practice-tdd#1406
Motorcycle-lab wants to merge 5 commits into
CodeYourFuture:mainfrom
Motorcycle-lab:clean-practice-tdd

Conversation

@Motorcycle-lab

Copy link
Copy Markdown

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

I finished the exercises inside sprint 3 . coursework 2 practice tdd

Questions

.

@Motorcycle-lab Motorcycle-lab added 📅 Sprint 3 Assigned during Sprint 3 of this module 📅 Sprint 2 Assigned during Sprint 2 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. 🏕 Priority Mandatory This work is expected and removed 📅 Sprint 2 Assigned during Sprint 2 of this module labels Jun 26, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This implementation doesn't quite look finished yet, but good start.

Your functions are working, but need to be formatted.

You are missing test cases. Have you comitted them yet?

Comment thread Sprint-3/2-practice-tdd/count.js Outdated
function countChar(stringOfCharacters, findCharacter) {
return 5
let count=0;
for(let letter of stringOfCharacters)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Could you fix the formatting here? You IDE should be able to do that for you quite easily.

function getOrdinalNumber(num) {
return "1st";

if(num===11){

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What about larger numbers, like 111? What ordinal should you get?

@LonMcGregor LonMcGregor added the Reviewed Volunteer to add when completing a review with trainee action still to take. label Jul 1, 2026
@Motorcycle-lab Motorcycle-lab added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed 🏕 Priority Mandatory This work is expected Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 3, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good work. Your implementations look complete now. Now you need to start uploading your test cases.

@LonMcGregor LonMcGregor removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 4, 2026
@Motorcycle-lab Motorcycle-lab 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 Jul 6, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good work, this task is completed now

@LonMcGregor LonMcGregor 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 Jul 6, 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. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants