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

WM Class 4 - Fatemeh Rahimi - JavaScript Core 1 - Week 1#348

Open
FatemRahimi wants to merge 9 commits into
CodeYourFuture:masterfrom
FatemRahimi:master
Open

WM Class 4 - Fatemeh Rahimi - JavaScript Core 1 - Week 1#348
FatemRahimi wants to merge 9 commits into
CodeYourFuture:masterfrom
FatemRahimi:master

Conversation

@FatemRahimi
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: Fatemeh Rahimi
  • Your City: Birmingham
  • Your Slack Name: FatemehRahimi

Homework Details

  • Module: JavaScript Core 1
  • Week: 1

Notes

  • What did you find easy?
    excersie tasks

  • What did you find hard?
    mandatory tasks and testing

  • What do you still not understand?

  • Any other notes?

Copy link
Copy Markdown
Member

@PakizeBozkurt PakizeBozkurt left a comment

Choose a reason for hiding this comment

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

Great job! 👍

Copy link
Copy Markdown

@Mujtabacyf Mujtabacyf left a comment

Choose a reason for hiding this comment

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

Excellent work.Fatemeh

Copy link
Copy Markdown

@szemate szemate left a comment

Choose a reason for hiding this comment

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

It was an excellent job!


var totalNumber = numberOfStudents + numberOfMentors;

var studentPrecentage = (numberOfStudents / totalNumber)* 100;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

There should be a space before *

function multiply() {
function multiply(a , b) {
let c = a * b;
return (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.

The brackets around c are unnecessary.

console.log(ShoutGreeting(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.

Make sure not to leave empty lines at the end of a code file

Comment thread extra/3-magic-8-ball.js
outputMessage = "positive";
} else if (negativeList.includes(answer)) {
outputMessage = "negative";
} else {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What happens if the value of answer is not in the veryNegativeList? I think it would be better to make sure it is included:

} else if (veryNegativeList.includes(answer)) {
    outputMessage = "very negative";
} else {
    outputMessage = "error";
}

or something like that.

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