JavaScript course, stuck! someone please help

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

Okay guys I am stuck on this challenge! would any of you mind elaborating on what I’m doing wrong?

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 +"black "+ myNoun + "cowardly " + myVerb + "very " + myAdverb + "."; // Change this line
// Only change code above this line

Challenge: Word Blanks

Link to the challenge:

You have spaces after each word, but what about before?

I will give this a try!

1 Like

ugh… almost an hour changing things around. ATTENTION TO DETAIL. Thank you so much for your help, the spaces were the solution to my problem. so everything in " " to be spaced on both sides like so?
" Orange "

The easiest way to be sure is to console.log(wordBlanks) and look at what you have. In this case, you want space before and after so that your words don’truntogetherlikethis.

1 Like

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