Can you please help?

Can you please help?
0

#1

Tell us what’s happening:
I’m really confused, I added the dog variables in the string and concatenated and it ticked just two out of the set assignment. I then replaced all the words in the variable and re-typed the answers, it ticked the last box and unticked the one it had ticked before.

I have tried placing both after each other but it didn’t work, I don’t know what else to do as the task says to replace the text with “cat, little” etc and I have done just that and I am still stuck.

Your code so far

function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  var result = "";
  // Your code below this line
  result += "The pussy" + "myNoun" + "was" + "myAdjective" + "when it" + "myVerb" + "the door" + "myAdverb";
  result += "The pussy " + "cat " + "was " + "little " + "when it " + "hit " + "the door " + "slowly";
  
  // Your code above this line
  return result;
}

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36.

Link to the challenge:


#2

Yo! Figured it out. Thank you.