Word Blanks Help (Not give me solution, only guide me)

I am trying to solve this question but still, i do not know where i am getting wrong, as well as there is also wordBlanks(“cat”, “little”, “hit”, “slowly”) too, so where i have to use them?

Tell us what’s happening:

Your code so far


function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  var result = "There was a" + myAdjective + myNoun + " and we" + myVerb + "away" + myAdverb;

  // Your code above this line
  return result;
}

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) 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

What EXACTLY does your output look like? console.log() may give you insight.

1 Like

still i have not used console to see my output, thanks i will check that

Hey Naveen,
Remember about spaces and try solving.

1 Like

thanks a lot i will try that and get back to you soon