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 variables
myNoun,
myVerb,
myAdjectiveand
myAdverb` 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: