Word blanks String not working as expected

Tell us what’s happening:

I could not understand , why my code is wrong. I even checked the solution. I could not understand what I am missing. Please help

Your code so far

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  var result ="" 
 result+= "I have a "+myNoun+"which is "+myAdjective+"and it "+myVerb+"very "+myAdverb+"."; 
  //result+= "My "+myAdjective+" "+myNoun+" "+myVerb+" very "+myAdverb+".";
  // Your code above this line
  return result;

// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");
wordBlanks("cat", "little", "hit", "slowly")

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36.

You’re missing spaces.

myNoun+"which is " // for "dog" this will be "dogwhich is "
1 Like