11.Functions Recap


So i keep on getting an error with this line of code and i don't understand why at all

i keep on getting this error

Oops, try again.
Your code doesn't look quite right. Click "Stuck? Get a hint!" if you need help!

and i don;t understand why. PLEASE HALP

var nameString = function ( name ) {
    return "Hi, I am" + " " + name;



Dipesh is a string so it needs " " to make that clear to JavaScript.


A post was split to a new topic: 11. still got error. Please help!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.