Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Conversation

nfarah22
Copy link

these are my solutions to this weeks coursework

Volunteers: Are you marking this coursework? You can find a guide on how to mark this coursework in HOW_TO_MARK.md in the root of this repository

Your Details

  • Your Name:
  • Your City:
  • Your Slack Name:

Homework Details

  • Module:
  • Week:

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?

these are my solutions to this weeks coursework
Copy link
Contributor

@Dedekind561 Dedekind561 left a comment

Choose a reason for hiding this comment

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

Hi there @nfarah22 ,
Well done on submitting your first piece of JS coursework!
At the moment, one of the test suites isn't passing - I can see this in the view on the PR. It says that 1 check has failed. Make sure you double check the tests again and fix the syntax errors you've got in this file.

return a + b + c;
}

function introduceMe(name, age)
return `Hello, my {name}` is "and I am $age years old`;
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @nfarah22,
The code in 1-syntax-errors.js is still throwing a Syntax Error at the moment. Think you might need to double check this file.


return "The total is total";
return "The total is" + total;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you try refactoring line 13 to use template literals here?

@@ -17,7 +20,10 @@ function calculateSalesTax() {}
Remember that the prices must include the sales tax (hint: you already wrote a function for this!)
*/

function addTaxAndFormatCurrency() {}
function addTaxAndFormatCurrency(price) {
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 Good job here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants