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

London 10 - Paulina Wywrot - Javascript Week 1 - #505

Open
PaulinaWywrot wants to merge 2 commits into
CodeYourFuture:masterfrom
PaulinaWywrot:master
Open

London 10 - Paulina Wywrot - Javascript Week 1#505
PaulinaWywrot wants to merge 2 commits into
CodeYourFuture:masterfrom
PaulinaWywrot:master

Conversation

@PaulinaWywrot

Copy link
Copy Markdown

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?

Comment thread mandatory/4-tax.js
function addTaxAndFormatCurrency() {}
return `£${fullPrice.toFixed(2)}`;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Very clear and concise code. Well done!

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.

Thank you Christina :)

Comment thread extra/2-piping.js
/* BETTER PRACTICE */

let goodCode =
let result = add(startingValue,10);

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.

Nice 😄
Having code on different lines sometimes makes it easier to read.

@@ -1,16 +1,17 @@
// There are syntax errors in this code - can you fix it to pass the tests?

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.

Looks good 👍

Comment thread mandatory/3-function-output.js Outdated
function concatenate(firstWord, secondWord, thirdWord) {
// Write the body of this function to concatenate three words together.
// Look at the test case below to understand what this function is expected to return.
return firstWord.concat(" ", secondWord, " ", thirdWord);

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.

This is good 👍
Can you think of any other ways to do this?
Maybe https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

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.

3 participants