Word Blanks Challenge seem not be working right

Tell us what’s happening:

I seem not to understand what I’m to do in this section, I’ve tried writing the code in every possible way and still don’t get it correctly

Your code so far


function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  var result = "It was really" + "myNoun" + ", and we" + "myAdjective" + "ourselves" + "myVerb" + "myAdverb";
  // Your code above this line
  return result;
}

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

Your browser information:

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

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

It is working. The problem is in your code. :smiley:

There is a difference between: myNoun and "myNoun". The former is a variable, the later is a string.

Then, you also need to properly ajust the spacing inside your sentence, otherwise the words will become a blob. =)

Cheers and happy coding.

What @EdMagal said. Your returned result looks like this when logged:

It was reallymyNoun, and wemyAdjectiveourselvesmyVerbmyAdverb