Skip to content

London | 26-ITP-January | Laura C | Sprint 2 | Data Groups#979

Open
lauracs24 wants to merge 13 commits intoCodeYourFuture:mainfrom
lauracs24:sprint-2
Open

London | 26-ITP-January | Laura C | Sprint 2 | Data Groups#979
lauracs24 wants to merge 13 commits intoCodeYourFuture:mainfrom
lauracs24:sprint-2

Conversation

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

Debug

  • Fixed address.js by accessing object property
  • Fixed author.js by iterating through object keys
  • Fixed recipe.js to correctly display the nice ingredients

Implement

  • Implemented contains function
  • Implemented lookup function
  • Implemented tally function
  • Fixed querystring implementation to handle values containing "="

Interpret

  • Implemented invert to swap keys and values
  • Answered interpretation questions in comments in the exercise

All tests pass successfully using npm test.

@lauracs24 lauracs24 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 4, 2026
@lauracs24 lauracs24 moved this to Awaiting Approval🚀 in Coursework Planner Mar 4, 2026
@JaypeeLan JaypeeLan added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Mar 11, 2026
module.exports = tally;
const counts = {};

for (const item of items) {

Choose a reason for hiding this comment

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

I think you should also check if the array has values.

Copy link
Author

Choose a reason for hiding this comment

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

I added a check for the empty array case and pushed the update. Thanks!

@JaypeeLan JaypeeLan 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. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Mar 11, 2026
@lauracs24 lauracs24 added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 11, 2026
@JaypeeLan JaypeeLan added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. 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. Reviewed Volunteer to add when completing a review with trainee action still to take. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Mar 11, 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