My code is not working and i don't know why

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 + "saw the thief and" + myVerb + "over a " + myAdjective + "wood" + 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/97.0.4692.71 Safari/537.36

Challenge: Word Blanks

Link to the challenge:


here is the output of your code: The dogsaw the thief andranover a bigwoodquickly. So you can see that you are missing some spaces between the words.

If you want to debugg your code, just add the console.log(wordBlanks) after your code and you will see it in the console and you can compare it with the desired output. Hope this helps you to finish the challenge.

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