Help me with word blanks

i cant seem to find the correct way to do this please help

Your code so far

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

// Only change code below this line
const wordBlanks= "My" + myNoun + "is really" + myAdjective + "and it"  + myVerb + "really" + 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/98.0.4758.82 Safari/537.36

Challenge: Word Blanks

Link to the challenge:

Hi @g_mokhuthe,

You will also need to account for spaces in your string, so that the final sentence has spaces between all the words. The result should be a complete sentence. Make sure to add spaces between words in your strings.

Cheers, Smeagol

I’d recommend using console.log and then you follow through with it, and fix what is needed.


@TheOctagon3323 is giving good advice. In case you’re not understanding, on the line below const wordBlanks= "My" + ..., put this:


That will put the string you are working on into the console window in the bottom right, allowing you to see what problems you are having.

1 Like

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