Word Blank I can't understand

Tell us what’s happening:

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("dog", "big", "ran", "quickly");

Your browser information:

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

Link to the challenge:

Take a look at the very bottom of the editor where it’s calling the wordBlanks function. As you can see it’s getting passed in some arguments, “dog”, “big”, etc. And now take a look at the actual wordBlanks function itself on top of the editor.

The arguments in there corresponds to what is being passed in the wordBlanks function when it is being called. So myNoun = “dog”, myAdjective = “big”, so on and so forth.

What it want’s you to do is concatenate all those arguments into your “result” variable, but don’t forget about the spaces in between each concatenation, excluding the last word. As another hint, you can take a look at what template literals are, as that would make it easier to concatenate different variable strings together.

Hi @somen18, You need to create a string with myNoun, myAdjective, myVerb, myAdverb that means that you need to join this parameters into a long single string using + and space between words.

Some idea could be:

var a = 'Get';
var b = 'along';
var c = 'with';

var result = 'a' + ' ' + 'b' + ' ' + 'c';
console.log(result); // Get along with