Basic JavaScript - Word Blanks not sure whats wrong with my code

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 + "." ; //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/113.0.0.0 Safari/537.36 Edg/113.0.1774.42

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

Hello!

The problem is that you didn’t separate the words with anything :stuck_out_tongue:. An empty string is not a character; if you meant to use a space, then this is the correct way: " ".

This is not a space: "", this is called blank :slight_smile:

1 Like

When you have an issue crop up like this, it’s a good idea to use a console.log, so that you can see what your code is returning.

Yours returns: “The bigdogranquickly.”

1 Like

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