-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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
xafter declaring but before initialising it. Then you would have found its value to beundefined.
request 5
- When using the
ifstatement, what will you do if the value ofzis exactly equal to the value ofa?
request 7
- There should be a space between
16andcharacters.
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
examinis 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
Labels
No labels