Word Blanks- why is my solution not working?

Word Blanks- why is my solution not working?
0

#1

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/


#2

nevermind, got it! just had to add spaces.


#3

Requesting document with coding exercise / answer, problem-resolution, “Basic JavaScript: Word Blanks”. Please help me answer this problem.


#4

33%20PM 02%20PM