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

Conversation

@OlhaDanylevska
Copy link

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?

function convertToUSD() {}
function convertToUSD(amount) {
return amount * 1.4;

Choose a reason for hiding this comment

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

This is a very small comment but it is customary to not add any extra lines if not needed, so you can erase these lines.

Copy link
Author

Choose a reason for hiding this comment

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

Hi @mcarballopacheco Thanks for your comment, could you please clarify which lines I can erase?
Thanks)

"Very doubtful."
];

let answersArray = [

Choose a reason for hiding this comment

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

Very nice!

//The concat() method is used to merge two or more arrays. This method does not change the existing arrays, but instead returns a new array.

function concatenate(firstWord, secondWord, thirdWord) {
return firstWord + ' ' + secondWord + ' ' + thirdWord;

Choose a reason for hiding this comment

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

Good. You could have also used .concat.

Copy link

@mcarballopacheco mcarballopacheco left a comment

Choose a reason for hiding this comment

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

Great work!

added separate variables in "good" code
Copy link

@RihannaP RihannaP left a comment

Choose a reason for hiding this comment

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

Good job!

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.

4 participants