I don't see a mistake, maybe you'll do?

I’m on a challenge called Word Blanks, under the JS course.
Everything looks correct to me. Please help me see where I’m wrong.

The error I’m getting is this: “wordBlanksshould contain all of the words assigned to the variablesmyNoun,myVerb,myAdjectiveandmyAdverb` separated by non-word characters (and any additional words in your madlib).”

My code:

const myNoun = "dog";
const myAdjective = "big";
const myVerb = "ran";
const myAdverb = "quickly";

// Only change code below this line
const wordBlanks = "small " + myNoun + " saw a " + myAdjective + " squireel and " + myVerb + " to it" + myAdverb + "."; // Change this line
// Only change code above this line

So, I’m using all variables, spelled correctly, etc. Please help.

Your browser information:

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

Challenge: Word Blanks

Link to the challenge:

small dog saw a big squireel and ran to itquickly.

1 Like

amen! thanks Jeremy :smile:

1 Like

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