Probelm in Word Blanks (Task 175)

Hey Campers, I’m facing a problem in task number 175, word blanks, and I just can’t finish it. I tried gitter, but no luck. I’m going to attach my code and link the task:

`
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("dog ", "big ", "ran ", “quickly”);

`

I would really appreciate it if someone could help me. Thanks!

You have put the spaces in the arguments for your test case, but the solution wants the spaces in between the arguments. (…myAdjective + " " + myNoun + " "…)

Thanks. I modified the input to add the spaces. My bad!

The instructions on this one really aren’t clear. I get the premise, but it’s a weird read.

6 Likes

solution:

result+= “My “+myAdjective+” “+myNoun+” “+myVerb+” very “+myAdverb+”.”;

I ran into the same problem but your precise answer helped me in not more than a minute. Thanks.