Probelm in Word Blanks (Task 175)

Probelm in Word Blanks (Task 175)
0

#1

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!


#2

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


#3

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


#4

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


#5

solution:

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


#6

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