im generally really confused about code since ive been studying it really on and off recently so please bear with me
i was working on the functions recap, which by the way i really dont understand - im sure its harder than the past parts?
so i mess around with it until it finally prints "Hi, I am Susie" or whatever. Codecademy doesnt like this and says:
"Oops, try again. It looks like you didn't print anything to the console! Did you remember to console.log() the result of passing your name to the nameString() function?"
It says this when i put the console.log inside the braces.
if I put it OUTSIDE the braces however, all that appears is text saying [function], which is obviously wrong, and yet codecademy is all like 'way to go!!! move on to your next lesson!"
so yeah can anyone explain this to me?
thanks very much!!!