I need help with functions recap?


#1

It keeps saying 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? my code looks like this

var nameString = function (name) {
return "Hi, I am"+" "+ name; 
nameString("Tychicus");
var nameString="Tychicus";
console.log("Hi, I am"+" "+"Tychicus")};

#2

Have a close look where you're function starts and ends think about what it should do and what needs to be included and what should be outside of it.