Skip to content

Feedback homework week 2 #1

@remarcmij

Description

@remarcmij

Hi Sam, here is my feedback on your homework.

request 1

  • It is nice that you start each exercise with an intro console.log and blank lines in between. Just a tip how to embed blank lines in a string:

    You can replace:

console.log("");
console.log("This is the Step 3 of Week's 2 homework of JavaScript module:");
console.log("");

with:

console.log("\nThis is the Step 3 of Week's 2 homework of JavaScript module:\n");

The \n escape sequence is replaced by a 'new line' character.

  • You will probably have noticed that the Arabic text is correct right-to-left in VSCode but print incorrectly as left-to-right in the console. In web applications with HTML it will be displayed correctly.

request 3

  • Here you were supposed to console.log the value of x after declaring but before initialising it. Then you would have found its value to be undefined.

request 5

  • When using the if statement, what will you do if the value of z is exactly equal to the value of a?

request 7

  • There should be a space between 16 and characters.

request 8

  • I like to real-life topic you have chosen for this exercise. Pay attention to spelling errors (you did install the Spell Checker extension in VSCode, right?). In line 115 the word examin is flagged as incorrectly spelled. Of course, I don't mind the non-English words that the spelling checker flags.

request 10

  • What do you mean with grammarly?

Overall, I think you have done a wonderful job. Your code is well formatted and 100% correct. Well done!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions