JavaScript Word Blanks Help

JavaScript Word Blanks Help
0

#1

big is not defined?
**function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var result = “”;
result+= “My “+big+” “+dog+” “+ran+” very “+quickly+”.”;
// Your code above this line
return result;
}

// Change the words here to test your function
wordBlanks(“dog”, “big”, “ran”, “quickly”);Tell us what’s happening:**

Your code so far


function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  var result = "";
  result+= "My "+big+" "+dog+" "+ran+" very "+quickly+".";
  // 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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

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


#2

https://www.w3schools.com/Js/js_function_parameters.asp

https://www.w3schools.com/Js/js_function_invocation.asp


#3

You have arguments myNoun, myAdjective, myVerb, myAdverb.
But, you are never using them in your function.

You have to use thses arguments in this line to get your result.
Figure out how ? and you should be good to go.


#4

Thank you for the help. I got it to work.