Can you help im not sure whats I am doing wrong

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 " + "myAdjective " + "myNoun" + "myVerb " + "myAdverb "

console.log(wordBlanks); // Change this line
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

look at the console. You have some spacing problems in your wordBlanks string.

I’m not sure I get what you saying, I was using spacing to allow my sentence to have spaces in between the words

i think it the space cause if you just do a string+ another string, there’s no space.

The problem is that you are putting your variables in strings, your are meant to just separate them with quotes that have spaces like this :
"The " + " " + modEdit+ " " + modEdit+ " " + modEdit+ " " + modEdit

1 Like

good catch. (I missed that)

Thanks it worked , i passed the code

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