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

ZA2-Harerimana-Dieudonne-JavaScript-Core-1-Coursework-Week1 - #307

Closed
diegoharera wants to merge 4 commits into
CodeYourFuture:masterfrom
diegoharera:master
Closed

ZA2-Harerimana-Dieudonne-JavaScript-Core-1-Coursework-Week1#307
diegoharera wants to merge 4 commits into
CodeYourFuture:masterfrom
diegoharera:master

Conversation

@diegoharera

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?

@BereniceOgundele BereniceOgundele left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi Harerimana, it looks like you put in a lot of time and effort to complete these exercises. Well done for hanging in there and completing it. All the best going forward...your code looks good.

@lexyking lexyking left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Left few comments but overall great jobs.

Comment thread mandatory/4-tax.js
function addTaxAndFormatCurrency(number) {
return "£" + calculateSalesTax(number).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.

Great job on these functions, Can you please have a look at the other function ??

// 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

Choose a reason for hiding this comment

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

Amazing.


function getStringLength(word) {
return "word".length();
return word.length();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

length is not called with the ()

return "Hello, my name is " + name "and I am " age + "years old";

function introduceMe(name, age) {
return "Hello, my name is " + name + " and I am " + age + " years old";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done on this one, I like your attention to detail on those empty spaces.

console.log(greet(mentor2));
console.log(greet(mentor3));
console.log(greet(mentor4));
console.log(greet(mentor5));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done


let name = "Diego";
let amount = name.length;
let message = "hello,my name is " + name + " and my name is " + amount + " characters long";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done.


console.log(message);
let greeting = greetingStart + name;
console.log(greeting);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great.


let message = "my name is Harera";
console.log(message);
console.log(typeof message); No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done.

let greeting = "hello Africa";
console.log(greeting);
console.log(greeting);
console.log(greeting);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done.

//console.log("save the world");
// console.log("create the world","happy","code your");
// console.log(save the world);
console.log(39); No newline at end of file

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants