Word Blanks - JavaScript

Feel like I’m going a bit crazy here - can anyone point out where I’m going wrong? I’ve read the other posts on the topic but I think I’ve followed all the advice there. Still tells me to keep trying…

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
var result = “”;
// Your code below this line
result = “The” + " " + myAdjective + " " + myNoun + " " + myVerb + " " + myAdverb + “.”;

// Your code above this line
return result;
}

// Change the words here to test your function
wordBlanks(“cat”, “little”, “hit”, “slowly”);

1 Like

Your code works here though.

1 Like

Try adding space at the end of the “The” string.

1 Like

Never mind. After refreshing for about the 20th time and changing nothing it suddenly started working :sweat:
Thanks for checking though!

1 Like

The-hyphen: I’m glad I saw your questions and this specific answer cause I was going crazy. First, trying to understand the requirements. Then, reading about it and once having the right code trying to run it and it didn’t work. But, resetting and refreshing it with the right code did it. Thank you!!!

Same here! Cutting, resetting, refreshing, and pasting got my code accepted.