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

London Class 10/Eagles - Danny Romero - JavaScript-Core-1-Coursework-Week1 #511

Open
Elenar9 wants to merge 4 commits into
CodeYourFuture:masterfrom
Elenar9:master
Open

London Class 10/Eagles - Danny Romero - JavaScript-Core-1-Coursework-Week1 #511
Elenar9 wants to merge 4 commits into
CodeYourFuture:masterfrom
Elenar9:master

Conversation

@Elenar9
Copy link
Copy Markdown

@Elenar9 Elenar9 commented Feb 21, 2023

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: Danny Romero
  • Your City:London
  • Your Slack Name: Elenar9

Homework Details

  • Module:
  • Week:

Notes

  • What did you find easy? mandatory/extra exercises are intended to be run as jest tests.

  • What did you find hard? exercise 4 apply the functions

  • What do you still not understand?

  • Any other notes?

let total = a + b;

return "The total is total";
return `The total is 28`;
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 Danny, Good job! Here 28 is a static value. You need to make it dynamic by returning :
return The total is ${total}

expect(introduceMe("Sonjide", 27)).toEqual(
"Hello, my name is Sonjide and I am 27 years old"
expect(introduceMe("Sonjide", 28)).toEqual(
"Hello, my name is Sonjide and I am 28 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.

Hi Danny, in exercies, you don't need to change the tests scripts. If your function is written correctly, the tests functions test them by sending some random inputs and you can see if your function is written correct or not. :)


===================================================
======= TESTS - DO NOT MODIFY BELOW THIS LINE =====

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 Danny, please try to add comments for thhis tasks if you get some free time. You can google it or use MDN website as well. Thanks

Comment thread mandatory/4-tax.js
}

/*
===================================================
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good job!

Copy link
Copy Markdown

@Ali-Jahankah Ali-Jahankah left a comment

Choose a reason for hiding this comment

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

Please have a look at my single comments. Thanks! Keep going!

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