Wher's the problem?

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


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

// Only change code below this line
const wordBlanks = 'if u had a' + myNoun + 'and it was' + myAdjective + ', so he can not' + myVerb + 'very' + myAdverb; // Change this line
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36 Edg/100.0.1185.50

Challenge: Word Blanks

Link to the challenge:

if you console.log(wordBlanks), you will findout that

wordBlanks should contain all of the words assigned to the variables myNoun , myVerb , myAdjective and myAdverb separated by non-word characters (and any additional words in your madlib).

aren’t actually separated

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