Need assistance in Word Blanks

Challenge Name

Word Blanks has an issue.

Issue Description

Looks like an issue here. Not able to pass this challenge with the below code:
var result = myAdjective+ " “+myNoun + " " + " " + myVerb + " " + myAdverb+”!";

Browser Information

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

Screenshot

Your Code



function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
  // Your code below this line
  var result =  myAdjective+ " "+myNoun + " "  + " " + myVerb + " " + myAdverb+"!";
  return result;
}

// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");

Works fine here.

If I were to be picky, I think it shouldn’t pass because there are two spaces between the noun and the verb.

1 Like

Thanks @kevcomedia. This resolves my issue.

1 Like

Thanks @kevcomedia.
You give me a very great solution.