London | 26-ITP-Jan | Oussama Mouggal | Sprint 1 | Coursework#948
Closed
Oussama-Mouggal wants to merge 20 commits into
Closed
London | 26-ITP-Jan | Oussama Mouggal | Sprint 1 | Coursework#948Oussama-Mouggal wants to merge 20 commits into
Oussama-Mouggal wants to merge 20 commits into
Conversation
cjyuan
reviewed
Feb 17, 2026
Author
|
Thank you @cjyuan for your valuable feedback. I corrected the mistakes and updated my code. |
cjyuan
reviewed
Feb 20, 2026
cjyuan
left a comment
Contributor
There was a problem hiding this comment.
Changes look good. Well done.
Comment on lines
+3
to
+4
| let age = 33; | ||
| let newAge = (age + 1); |
Contributor
There was a problem hiding this comment.
Since we are not going to reassign values to these variables, we can keep using const.
| console.log(`The percentage change is ${percentageChange}`); | ||
|
|
||
| //a) There are 4 function calls in this file. They are on lines 1, 2, 4, and 5. | ||
| //b) The error is on line 5. The error is occurring because a comma is messing between the parameters., |
Contributor
There was a problem hiding this comment.
A more common term used to describe the value passed to the function is "argument".
The term "parameter" usually refers to a variable (in the function definition) that is used to receive the value passed into the function.
Member
|
Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Self checklist
Changelist
I corrected the javascript errors and commited them separately.