Word Blanks need assistance

Tell us what’s happening:

What am I doing wrong

Your code so far


function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  var myNoun = "dog";
  var myAdjective = "big";
  var myVerb = "ran";
  var myAdverb = "quickly";

  var result = "The" + myNoun + "was so" +  myAdjective + ", but" + myVerb + "very" + 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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

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

You need spaces between all your words.

Add appropriate spaces in the ‘result’ variable. Also, is there a reason you’re re-initializing myNoun, myAdjective, myVerb, and myAdverb inside of the wordBlanks function? In other words, those values are already being passed in as parameters and you don’t need to created any vars besides ‘result.’

I believe if you wanted, your function could contain only one line and not need a ‘result’ variable at all:

return "The " + myNoun + " was so " + myAdjective + ", but " + myVerb + " very " + myAdverb;

Your code has been blurred out to avoid spoiling a full working solution for other campers who may not yet want to see a complete solution. In the future, if you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

Thank you.