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

London-10_Saqib_Javed_JavaScript-Core-2-Coursework-Week1 - #232

Open
saqibjvd wants to merge 9 commits into
CodeYourFuture:mainfrom
saqibjvd:main
Open

London-10_Saqib_Javed_JavaScript-Core-2-Coursework-Week1#232
saqibjvd wants to merge 9 commits into
CodeYourFuture:mainfrom
saqibjvd:main

Conversation

@saqibjvd

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?

@saqibjvd saqibjvd added the review requested I would like a mentor to review my PR label Mar 23, 2023
@saqibjvd
saqibjvd requested a review from kwebster77 March 23, 2023 02:01
let dogBreed;
dogBreed = "Dalmatian"; // complete the code

console.log(`${dogName} is a ${dogBreed}`);

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, Nice coding

console.log(myCapitalCity);

/* EXPECTED RESULT

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice1

},
};

student.getName("Daniel");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice work

Comment thread 2-mandatory/3-shopping-list.js Outdated
)
newRecipe2.items.push(item);
}
return newRecipe2;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice and Neat coding

@kwebster77 kwebster77 added the reviewed A mentor has reviewed this code label Mar 31, 2023
*/
test("a score of 70 is grade B", () => {
expect(convertScoreToGrade(70)).toEqual("B");
});

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 with adding the tests :)

expect(formatCourseworkResult(trainee)).toEqual(
`Xin's coursework was marked as grade C.`
);
});

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

looks good! Could you think of a way to consolidate this?

You could you try something like--

let result = formatCourseworkResult({
name: 'Xin',
score: 63})

Could you finish the expect function?

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

Labels

review requested I would like a mentor to review my PR reviewed A mentor has reviewed this code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants