Conversation
abdishakoor-dev
left a comment
There was a problem hiding this comment.
3-paths.js and 4-random.js are fixed now. Thanks.
Some changes you mention in the threads are not in the PR. For example, 2-time-format.js b) still says "There are no function calls". And 3.js has not changed since 16 September. Maybe the files were not saved, or not pushed. In VS Code, a dot on a file tab means the file is not saved.
Still to do:
1-percentage-change.jsa): your lines are right. The question also asks how many calls. Line 4 has two. Write the total.2-time-format.jsb): line 10 hasconsole.log(result). That is a function call. So the answer is 1.2-mandatory-errors/3.js: go back to your first version on line 2, as in my thread reply. Line 1 stays a number.2-mandatory-errors/1.js,2.jsand4.js: add the error type to each. See my comments on those files.2-time-format.jsc) and f): see my comments on lines 33 and 39.- Prettier: most of the files you changed still fail the check. Format each one, then push. Format on save stops this coming back: https://github.com/CodeYourFuture/Module-JavaScript-Fundamentals/blob/main/practical_guide.md
Add the Needs Review label again once you have pushed.
|
@abdishakoor-dev Everything is updated now. |
|
The files changed in this PR don't match what is expected for this task. Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints. Please review the 'files changed' tab at the top of the page. Here is an example of a file that has been changed on this branch but shouldn't be: If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed). If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above. |
|
The files changed in this PR don't match what is expected for this task. Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints. Please review the 'files changed' tab at the top of the page. Here is an example of a file that has been changed on this branch but shouldn't be: If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed). If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above. |
abdishakoor-dev
left a comment
There was a problem hiding this comment.
Marking this Complete. Thank you for sticking with it.
Sorry, my last reply on 3.js was wrong. You had pushed, and I missed it. Your 16th September version worked too, and I should not have asked you to change it.
Please still fix these, as notes for your learning:
2-mandatory-errors/3.jsline 2 stops with a TypeError.StringandNumberhave swapped places. Copy this onto line 2:
const last4Digits = Number(String(cardNumber).slice(-4));- Delete
Sprint-3/4-mandatory-interpret/.gitignore. It is in the Sprint 3 folder, and this PR is for Sprint 2. Your3-to-pounds.jsis back, so you do not need it. 2-mandatory-errors/1.jshas no explanation yet. For example: the original line 3 usedconst. Aconstcannot get a new value, so line 4 gave a TypeError.letallows a new value.3-to-pounds.jslines 14 to 16: you are right that.padEnd(2, "0")never changes anything here. But this exercise asks you to explain the code as it is, and your answer 5 still explainspadEnd. Put the original lines back:const pence = paddedPenceNumberString .substring(paddedPenceNumberString.length - 2) .padEnd(2, "0");
|
The files changed in this PR don't match what is expected for this task. Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints. Please review the 'files changed' tab at the top of the page. Here is an example of a file that has been changed on this branch but shouldn't be: If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed). If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above. |
Learners, PR Template
Self checklist
Task code
CYF-1039
Changelist
Using documentations errors explained fixed. Program explained step by step.