Word Blanks function doesn't work!

Hello everybody I have just started to learn java script and I don’t know what to do for this problem. I can’t solve it. Anyone could help me?

Your code so far


function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
 
  var result = myAdjective+myNoun+myVerb+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 6.3; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/word-blanks

You have no spaces between the words, you’re returning “bigdogranquickly” or “littlecathitslowly”

1 Like

Thank you so much. It worked:)

1 Like