Basic JavaScript - Word Blanks

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 every" + myAdjective + "and " + myVerb + "every " + 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; rv:109.0) Gecko/20100101 Firefox/118.0

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

You are missing some spaces between words. For example:

", was every"

Do you see how there is no space after the word “every”? So you’ll need to go through and add spaces where needed.

I will add that it would be nice if the tests showed you what the string in the wordBlanks variable actually looked like so you could see these errors a little easier. Since you haven’t learned about console.log() yet it makes it harder to debug this.

1 Like