Tell us what’s happening:
Why doesn’t this work. On the console there is a readable sentence but the last 2 do not have the green check. What is going on!
Some one explain to me why this works => result+= “My “+myAdjective+” “+myNoun+” “+myVerb+” very “+myAdverb+”.”; and mine does not.
What am I missing?
Your code so far
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = "";
// Your code below this line
result += "my " +myNoun+ " is very " +myAdjective+ " and " +myVerb+ " away " +myAdjective+ " recently.";
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
.
Link to the challenge: