LONDON CLASS 7 - NIGEL PELVIN - JS CORE - WEEK 1 - #47
Conversation
exercises and mandatory sections complete
mulindierick
left a comment
There was a problem hiding this comment.
Generally, this is fantastic. Well done.
| @@ -1 +1,2 @@ | |||
| console.log("Hello world"); | |||
| console.log("Hello world, I just started learning JavaScript!"); | |||
| console.log("Potato"); | |||
There was a problem hiding this comment.
Hi Pelvin. Nice job.
just wanted to say, what happened when you removed the quotes from the values insides the logs?
for example, what happens when you console.log(Potato);
I am not sure if it is necessary to present here, but I somehow expected some sort of comment lighting what happens in such a case since it was on the exercise. Same applies to using a number
| console.log(message); | ||
| var greetingStart="Hello, My name is "; | ||
| var firstName="Nigel"; | ||
| var greeting=greetingStart + firstName; |
There was a problem hiding this comment.
Not much of a big deal, but I would suggest you improve a little bit on the indentation of your code. Space before and after the equal sign would make your code look less congested
| var mentor3 = "Mimi"; | ||
| var mentor4 = "Rob"; | ||
| var mentor5 = "Yohannes"; | ||
| var greeting = "HELLO "; |
There was a problem hiding this comment.
I see how you approached this one. Rember you need two functions. so your greeting is supposed to be a function and not a variable.
see the instruction "Your program should include a function that spells their name in uppercase, and a function that creates a shouty greeting."
let me know if you need help working out the solution.
|
Your coursework submission has been closed because nobody has interacted with it in 30 days. You are welcome to re-open it to get more feedback. |
exercises and mandatory sections complete
Your Details
Homework Details