Word Blanks utterly confused here

Word Blanks utterly confused here
0.0 0

#1

Tell us what’s happening:
What the hell am I suppose to do here? please help.

Your code so far

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  myNoun = "dog";
  myAdjective="big";
  myVerb="ran";
  myAdverb="quickly";
e ="cat";
f ="little";
g ="hit";
h ="slowly";
  
  
  var result = "my " + myAdjective + myNoun + myVerb + myAverb + "after this " + f + g + ". I " + g + h + " the table";

  // Your code above this line
  return result;
}

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

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  myNoun = "dog";
  myAdjective="big";
  myVerb="ran";
  myAdverb="quickly";
e ="cat";
f ="little";
g ="hit";
h ="slowly";
  
  
  var result = "my " + myAdjective + myNoun + myVerb + myAverb + "after this " + f + g + ". I " + g + h + " the table";

  // Your code above this line
  return result;
}

// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly", "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/66.0.3359.181 Safari/537.36.

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


#2

I’ve edited your post for readability. When you enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.


#3

You are supposed to use the argument variables that are passed into the function (myNoun, myAdjective, etc). You are not using the argument values. You are assigning your own strings to them and ignoring the input.

You also need to have spaces between all the words in your result.