function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var result = "";
result += "The"+myAdjective+""+myNoun+""+myVerb+ "very"+myAdverb+", while"+"the" +"little"+"cat"+"hit"+"its"+"head" ;
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly", "The", "away");
var myNoun = "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:65.0) Gecko/20100101 Firefox/65.0.
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var result = "";
result += "The "+ myAdjective + " " + myNoun + " " + myVerb + " very " + myAdverb + ", while the little cat hit it's head" ;
// Your code above this line
return result;
}
That's the correct code. No need to use add another argument. Also, be wary of spaces too
// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");