Basic JavaScript - Word Blanks

Tell us what’s happening:
Not passing the last condition

Your code so far
const myNoun = “dog”;

const myAdjective = “big”;

const myVerb = “ran”;

const myAdverb = “quickly”;

// Only change code below this line

const wordBlanks = myAdjective +“”+ myNoun +“”+ myVerb +“”+ myAdverb +“via garden”+“.”; // Change this line

// Only change code above this line

const myNoun = "dog";
const myAdjective = "big";
const myVerb = "ran";
const myAdverb = "quickly";

// Only change code below this line
const wordBlanks = myAdjective +""+ myNoun +""+ myVerb +""+ myAdverb +"via garden"+"."; // 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/111.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

You have to include spaces between words.
Your output is: bigdogranquicklyvia garden.

tip: You can use console.log(wordBlanks); in the end to see your output.

1 Like

Thank you very much, it was a great help. I passed the test :heart:

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