Skip to content

Glasgow | 26-ITP-May | Niangh Ciang | Sprint 2 | Exercises#1246

Open
Niangh-Ciang wants to merge 14 commits into
CodeYourFuture:mainfrom
Niangh-Ciang:coursework/sprint-2
Open

Glasgow | 26-ITP-May | Niangh Ciang | Sprint 2 | Exercises#1246
Niangh-Ciang wants to merge 14 commits into
CodeYourFuture:mainfrom
Niangh-Ciang:coursework/sprint-2

Conversation

@Niangh-Ciang

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

Completed Sprint 2 exercises.

@Niangh-Ciang Niangh-Ciang added 📅 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. Module-Data-Groups The name of the module. labels Jul 14, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Jul 20, 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 on doing the stretch tasks. I have one question about one of the tasks, can you answer it?

return queryParams;
}
const keyValuePairs = queryString.split("&");
const replacePlusWithSpace = (str) => str.replace(/\+/g, " ");

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 are you doing with this replacement?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I added this replacement to convert all + characters into spaces. One of the tests checks this behaviour, and since decodeURIComponent doesn’t handle +, this step is required to pass the test.

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 explanation, the task is complete now

@LonMcGregor LonMcGregor 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 Jul 20, 2026
@Niangh-Ciang Niangh-Ciang 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 20, 2026
@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 21, 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. Module-Data-Groups The name of the module. 📅 Sprint 2 Assigned during Sprint 2 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants