Word Blanks blanking and how it operates

Word Blanks blanking and how it operates
0

#1

Tell us what’s happening:
what do i do i dont understand it

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("leopard", "spotted", "jumped", "quickly");

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 10895.78.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.120 Safari/537.36.

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


#2

You have a function which passes in four parameters: myNoun , myAdjective , myVerb , and myAdverb. The function should return a sentence which includes those four parameters, regardless of what they are. Remember that the parameters don’t include spaces. Good?


#3

give me an example and expantiate further


#4
function madLibs(name, age) {
     return "Hello "+ name + ". You are " + age + " years old." ;
}

madLibs('John', 30); would return…
Ask yourself:

  1. What is name
  2. What is age
  3. What is "Hello "+ name + ". You are " + age + " years old."

#5

use my code to give me an example


#6

I don’t know how to help you any more and not reveal the answer. I’ll try.

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

  // Your code above this line
  return result;
}

Concatenate myNoun, etc. to make a sentence.