Its still not running....who can help

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 = "The" + myNoun + "was" + myAdjective + "and" + myVerb + "very" + myAdverb + "."; // Change this line return result;
// Only change code above this line

Your browser information:

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

Challenge: Word Blanks

Link to the challenge:

I would suggest you log out wordBlanks. See if you can see what is wrong.


As @lasjorg said, console.log wordBlanks out and you will find your answer. Also read the instructions again carefully. What is supposed to go between words?.. You got this!

Try to think about what concatenating “The” and myNoun becomes and you will see the error. Maybe console.log(“The” + myNoun);

I think you have to add a space between words this will work.

Hi, @atibsjohn
I suggest reading all instructions carefully.

const wordBlanks = "The" + myNoun + "was" + myAdjective + "and" + myVerb + "very" + myAdverb + ".";

will not work because the last instruction is:

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).

I italicized the important part.

If you apply that part correctly I’m sure you’ll pass. I’ve tested it.
Good luck! :smiley:

Try to guide students into finding the error rather than telling them about it directly. We should let them explore by themselves.

Thanks guys…i eventually figured it out…
I logged out wordBlanks and found out my spacing was all wrong…

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