function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var result = "";
myNoun="dog";
myAdjective="big";
myVerb="ran";
myAdverb="quickly";
result+= "My "+myAdjective+" "+myNoun+" "+myVerb+" very "+myAdverb+".";
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks("cat", "little", "hit", "slowly");
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36.
thanks for replying - appreciated. there seems to be two parts - the first part passes the second part fails
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb)
{
// Your code below this line
var result = “”;
myNoun=“dog”;
myAdjective=“big”;
myVerb=“ran”;
myAdverb=“quickly”;
result+= “My “+myAdjective+” “+myNoun+” “+myVerb+” very “+myAdverb+”.”;
// Your code above this line
return result;
}
//passes up to this point
// Change the words here to test your function wordBlanks("cat ", "little ", "hit ", “slowly”);