Skip to content

Glasgow | Jan-26-ITP | Fattouma Ouannassi | Sprint 3 | coursework/sprint-3-practice-tdd#1094

Open
FAprogrammerO wants to merge 2 commits intoCodeYourFuture:mainfrom
FAprogrammerO:coursework/sprint-3practice-tdd
Open

Glasgow | Jan-26-ITP | Fattouma Ouannassi | Sprint 3 | coursework/sprint-3-practice-tdd#1094
FAprogrammerO wants to merge 2 commits intoCodeYourFuture:mainfrom
FAprogrammerO:coursework/sprint-3practice-tdd

Conversation

@FAprogrammerO
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

This project (sprint 3) focuses on learning how to use JavaScript methods and npm test the code.

Questions

N/A

@FAprogrammerO FAprogrammerO added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 28, 2026
@FAprogrammerO FAprogrammerO force-pushed the coursework/sprint-3practice-tdd branch from b53bdab to eac7d73 Compare March 4, 2026 16:30
Copy link

@kyle-tightest kyle-tightest left a comment

Choose a reason for hiding this comment

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

get-ordinal-number and repeat-str.js look good! its just count.js that has some issues

Comment on lines +1 to +7
// function countChar(stringOfCharacters, findCharacter) {
// let count = 0;
// for (let i = 0; i < stringOfCharacters.length; i++) {
// if (stringOfCharacters[i] === findCharacter) {
// count++;
// }
// }

Choose a reason for hiding this comment

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

The ITP assignment does need countChar method to be implemented so that the tests, which call countChar will pass

Comment on lines +12 to +19
let numbers=[1,2,3,4,5,6,1,2,3,4,5,6]
let idxArray=[];
numbers.find((el,ix,numbers)=>{
if (el===3){

idxArray.push(ix);}
})
console.log(idxArray);

Choose a reason for hiding this comment

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

this piece of code does not seem to be related to the assignment.
please let me know if i can help you understand the problem better
or perhaps this was an accident?

@kyle-tightest kyle-tightest 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 Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants