My code is similar to the correct solution, but I am getting an error. I don’t know where I am going wrong.
Your code so far
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var result = "";
result = "My hairy and " + myAdjective + myNoun + "loves to " + myVerb + myAdverb + "with me.";
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks("fairy", "big", "run", "quickly");
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:64.0) Gecko/20100101 Firefox/64.0.
You were making exactly the same mistakes as I was earlier today was just staring at it for half an hour thinking “WTH am I missing!”. Then I realised I was literally missing a space.