Skip to content

Manchester | 26-ITP-May| John Robinson | Sprint 1 | Coursework#1426

Open
JohnRob-jnr wants to merge 8 commits into
CodeYourFuture:mainfrom
JohnRob-jnr:Sprint-1
Open

Manchester | 26-ITP-May| John Robinson | Sprint 1 | Coursework#1426
JohnRob-jnr wants to merge 8 commits into
CodeYourFuture:mainfrom
JohnRob-jnr:Sprint-1

Conversation

@JohnRob-jnr

@JohnRob-jnr JohnRob-jnr commented Jun 29, 2026

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 have made alterations & replied to the questions / comments by reviewer

@JohnRob-jnr JohnRob-jnr added 📅 Sprint 1 Assigned during Sprint 1 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Structuring-And-Testing-Data The name of the module. labels Jun 29, 2026
Comment thread Sprint-1/1-key-exercises/1-count.js Outdated
Comment on lines +8 to +11
// Answer: Line 3 is updating the value of the variable 'count' by adding 1 to its current value.
// The = operator is used to update / assign a new value to the variable 'count'.
// It takes the current value of 'count', adds 1 to it, and then assigns that new value back to 'count'.
//

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.

Operation like count = count + 1 is very common in programming, and there is a programming term describing such operation.

Could you find out what one-word programming term describes the operation on line 3?

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.

Would it be "reassigning"? using the assignment operator

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.

Reassignment refers to "a variable is assigned a different value", and you are correct that count = count + 1 is an example of reassignment.

The term I had in mind is "increment".

Comment thread Sprint-1/2-mandatory-errors/4.js Outdated
// A) 5 in total - lines 4, 5, 10

// b) Run the code and identify the line where the error is coming from - why is this error occurring? How can you fix this problem?
// A) Missing comma in line 5 in function .replaceAll which is causing the error.

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.

We could more precisely describe "A comma is missing between "," and "" in the function call" as:
A comma is missing between the ___________s.

What is this programming term that refers to the values passed to a function? It begins with an 'a'.

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.

This would be Argument?

@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 Jul 3, 2026
@JohnRob-jnr

Copy link
Copy Markdown
Author

Hey @cjyuan I have made changes where required & replied in comments. Thanks for reviewing this

@JohnRob-jnr JohnRob-jnr 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 3, 2026
@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 Jul 3, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@JohnRob-jnr JohnRob-jnr added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Complete Volunteer to add when work is complete and all review comments have been addressed. labels Jul 3, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 3, 2026
@JohnRob-jnr JohnRob-jnr added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Complete Volunteer to add when work is complete and all review comments have been addressed. labels Jul 3, 2026
@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 Jul 3, 2026
@github-actions

This comment has been minimized.

@JohnRob-jnr JohnRob-jnr added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 3, 2026
@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 Jul 3, 2026
@JohnRob-jnr JohnRob-jnr added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jul 3, 2026
@cjyuan

cjyuan commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

All good. Well done.

@cjyuan cjyuan 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 3, 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-Structuring-And-Testing-Data The name of the module. 📅 Sprint 1 Assigned during Sprint 1 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants