Basic JavaScript - Word Blanks

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

It saying the I am not using all of the variables but I think I am. Please see below
const wordBlanks = “The” + myAdjective + " " + myNoun + " " + myVerb + " " + myAdverb + “down the street” + “.”; // Change this line
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" + myAdjective + " " + myNoun + " " + myVerb + " " + myAdverb + "down the street" + "."; // 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/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

You are using all variables, but you should be more careful about this part:

You will also need to account for spaces in your string

Thank you for your response. Can you tell me where specifically I need to be more careful? I’m still pretty lost.

Yeah, sure.
If I log out your wordBlanks it will be

Thebig dog ran quicklydown the street.

So some words are smashed into each other. Fix that.

2 Likes

There are no spaces between some words, it should be like "The " + myAdjective…accounting for the spaces

1 Like

Perfect! Thank you so much for your help. I understand now.