wordBlank challenge

Tell us what’s happening:
I just can’t get it to work so that’s it

Your code so far


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

// Only change code below this line
var wordBlanks = "The" + myNoun + "was" + myAdjective + "so i" + myVerb + "very" + 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/87.0.4280.141 Safari/537.36 Edg/87.0.664.75.

Challenge: Word Blanks

Link to the challenge:

Hi @okehdecent!

If you add console.log(wordBlanks) at the end of your code it will reveal what the issue is.

Currently your answer prints this
Thedogwasbigso iranveryquickly.

Add some spaces to the code so the sentence makes sense.

FCC instructions:
You will also need to account for spaces in your string, so that the final sentence has spaces between all the words.

3 Likes

Thanks it worked. Truly it just lacked space

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