Error on wordBlanks

Tell us what’s happening:
the variables myNoun, myVerb, myAdjective and myAdverb separated by non-word characters (and any additional words in your madlib).

I keep getting the above error no matter what i try. Any help please.

   **Your code so far**

var myNoun = "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";
// Only change code below this line
var wordBlanks = "the "+ myAdjective +" "+ myNoun +" "+ myAdverb + " " myVerb; // Change this line
// Only change code above this line
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0.

Challenge: Word Blanks

Link to the challenge:

aren’t you missing something here?

Because trying your code I get this even before running the tests

SyntaxError: unknown: Missing semicolon. (6:70)

  4 | var myAdverb = "quickly";
  5 | // Only change code below this line
> 6 | var wordBlanks = "the "+ myAdjective +" "+ myNoun +" "+ myAdverb + " " myVerb; // Change this line
    |                                                                       ^
  7 | // Only change code above this line
1 Like

Thank you. I added the + sign and it worked.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.