Skip to content

London | ITP-JAN26 | Ihor Taradaiko | Sprint 2 | Coursework/sprint-2#1046

Closed
ihortar wants to merge 6 commits intoCodeYourFuture:mainfrom
ihortar:Coursework/Sprint-2
Closed

London | ITP-JAN26 | Ihor Taradaiko | Sprint 2 | Coursework/sprint-2#1046
ihortar wants to merge 6 commits intoCodeYourFuture:mainfrom
ihortar:Coursework/Sprint-2

Conversation

@ihortar
Copy link
Copy Markdown

@ihortar ihortar commented Mar 19, 2026

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
  • implement
  • interpret
  • stretch

@github-actions

This comment has been minimized.

@ihortar ihortar 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 Mar 19, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 19, 2026
@github-actions

This comment has been minimized.

@ihortar ihortar added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 20, 2026
Comment thread Sprint-2/debug/recipe.js
Comment on lines +21 to +23
for (const ingredient of recipe.ingredients) {
console.log(ingredient);
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Your code works.

Here is an alternative worth exploring: Since ingredient values are separated by '\n' in the output, we could also use Array.prototype.join() to construct the equivalent string and then output the resulting string.

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.

It seems more complex at first glance.
I will check out later how it works, as I don't fully understand reading it.
Thanks

Comment thread Sprint-2/implement/contains.test.js Outdated
value = pair.slice(indexOfEquals + 1);
}

queryParams[key] = value;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Note: (No change required)

  • In real query string, both key and value are percent-encoded or URL encoded in the URL.
    For example, the string "5%" is encoded as "5%25". So to get the actual value of "5%25"
    (whether it is a key or value in the query string), we need to call a function to decode it.

  • You can also explore the URLSearchParams API.

Comment thread Sprint-2/implement/tally.js Outdated
Comment thread Sprint-2/interpret/invert.js
@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 Mar 25, 2026
@cjyuan
Copy link
Copy Markdown
Contributor

cjyuan commented Mar 25, 2026

Changes look good.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Mar 25, 2026
@illicitonion
Copy link
Copy Markdown
Member

Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it.

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.

3 participants