Tell us what’s happening:
Well the post says the solution is:
result+= “My “+myAdjective+” “+myNoun+” “+myVerb+” very “+myAdverb+”.”;
I do not understand why my solution is not passing the test:
result += “I “+myVerb+” with the " +myAdjective+” goofy “+myNoun+ " very “+myAdverb+”.”;
Your code so far
function wordBlanks(myNoun, myAdjective, myVerb, myAdverb) {
// Your code below this line
var result = "";
result += "I "+myVerb+"with the" +myAdjective+" goofy "+myNoun+ "very "+myAdverb+".";
// Your code above this line
return result;
}
// Change the words here to test your function
wordBlanks("dog", "big", "ran", "quickly");
wordBlanks("cat","little","hit", "slowly");
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/word-blanks/