Word Blanks how to

Word Blanks how to
0

#1

Tell us what’s happening:

help

Your code so far


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

  // Your code above this line
  return result;
}

// Change the words here to test your function
wordBlanks("It really is a " +"dog", "that is " + "big", "and "+ "ran",+ "quickly");

Your browser information:

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


#2

What part of the instructions do you not understand? You should not be changing anything in the function call. You need to create a concatenated string which includes the arguments passed into the wordBlanks function. The argument values will be in the corresponding myNoun, myAdjective, myVerb, and myAdverb variables. Just build a sentence with proper spacing and punctuation with the variable names and assign to the result variable.