Basic JavaScript - Word Blanks

Tell us what’s happening:
I’m not sure what I’m doing wrong 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 = "my " + myNoun + " was" + myAdjective + " he" + myVerb + myAdverb + "."; // Change this line
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

Take a look at the output that’s printed out to the console, but will there be a space between these two words?

1 Like

I just put a space after was but still
Screen Shot 2023-07-31 at 8.58.11 AM

Did you fix evey spot where you did not have a space?

Please post your actual code instead of screenshots.

Got it! The " " one was what was snagging me when I had 2 variables next to each other

1 Like

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