-
-
Notifications
You must be signed in to change notification settings - Fork 197
West Midlands | MAY | EMIN AKTURK | Sprint 2 | MODULE-STRUCTURING-AND-TESTING-DATA #691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…e professional one.
It looks like the two new PRs still has the Sprint 1 files - let me know if you want to jump on a call to run through the GIT side |
I have sent a DM on slack. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall very strong submission - a couple of comments to take a look over.
Sprint-2/1-key-errors/0.js
Outdated
// =============> write your new code here | ||
|
||
function capitalise(str) { | ||
let capitalisedStr = `${str[0].toUpperCase()}${str.slice(1)}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good! I'll won't pull it as a review comment as the template code declared the variable with let. However, if you are not re-assigning a variable we should be using const.
Sprint-2/2-mandatory-debug/1.js
Outdated
return a + b; | ||
} | ||
|
||
console.log(`The sum of 45 and 12 is ${sum(45, 12)}`); // Output: "The sum of 10 and 32 is 42" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the output returned by the function?
return `${pounds}.${pence}`; | ||
} | ||
|
||
console.log(`The amount in pounds is ${toPounds("10000000")}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this output?
Just be careful with formatting too - is there anything that could be improved?
|
||
// c) What is the return value of pad is called for the first time? | ||
// =============> write your answer here | ||
// =============> would be 00. | ||
|
||
// d) What is the value assigned to num when pad is called for the last time in this program? Explain your answer | ||
// =============> write your answer here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's your answer for d)
Your PR's title didn't contain a known region. Please check the expected title format, and make sure your region is in the correct place and spelled correctly. |
…odule-Structuring-and-Testing-Data into coursework/sprint-2
Your PR's title didn't contain a known region. Please check the expected title format, and make sure your region is in the correct place and spelled correctly. |
1 similar comment
Your PR's title didn't contain a known region. Please check the expected title format, and make sure your region is in the correct place and spelled correctly. |
Your PR's title isn't in the expected format. Please check the expected title format, and update yours to match. Reason: Sprint part (MODULE-STRUCTURING-AND-TESTING-DATA) doesn't match expected format (example: 'Sprint 2', without quotes) |
Your PR's title isn't in the expected format. Please check the expected title format, and update yours to match. Reason: Sprint part (MODULE-STRUCTURING-AND-TESTING-DATA) doesn't match expected format (example: 'Sprint 2', without quotes) |
Your PR's title didn't contain a known region. Please check the expected title format, and make sure your region is in the correct place and spelled correctly. |
Your PR's title isn't in the expected format. Please check the expected title format, and update yours to match. Reason: Wrong number of parts separated by |s |
Your PR's title isn't in the expected format. Please check the expected title format, and update yours to match. Reason: Sprint part (MODULE-STRUCTURING-AND-TESTING-DATA) doesn't match expected format (example: 'Sprint 2', without quotes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for resolving those previous comments. This is a great submission and you've done a great job understanding the topics in Sprint 2!
Well done
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.