Can't understand this

Tell us what’s happening:

Your code so far

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  var result = "";
  // Your code below this line
  myNoun = "cat";
  myAdjective = "little";
  myVerb = "hit";
  myAdverb = "slowly";
  result = myNoun + myAdjective + myVerb + myAdverb;
  // Your code above this line
  return result;

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0.

Link to the challenge:

What exactly you don’t understand?

i don’t under stand the

If I use the following call to your function:

wordBlanks("cat", "little", "hit", "slowly");

It returns:


The above is not a sentence. Sentences have spaces between words and typical use definite articles such as “the”, “a”, “an” which proceed nouns.

Imagine that your function is a machine where you insert some words, in this case your parameters: myNoun, myAdjective, myVerb and myAdverb.

After you insert them in your machine, it will start working and it will put those words in a sentence that has some missing words (these words will be the parameters) and the result of this process will be a complete sentence.

You’re declaring your words inside the function, but the objective here is for the user be able to input his own words to fill the sentence when the function is called, in your example the function is being called with this arguments:

wordBlanks("cat", "little", "hit", "slowly");

Your function should return the result that is your unfinished sentence completed with the arguments that were passed in the function call.

Hope you understand the idea of the exercise :slight_smile:
And sorry for my grammar.

thank you it was helpful.

thank you very much get it