Help spotting the Word Blanks error?

I feel like I am formatting everything correctly but for some reason cannot pass. Can anyone please help me spot my error? Many thanks!

I’d try console.loging the output. You don’t have enough spaces.

Hi thanks for commenting. I have a space between every var and the requisite spaces to accommodate spaces in the output.

Did you try console.loging the output? You don’t have spaces at the beginning of your inserted strings, like "is ".

Aaaah, I see, thanks so much. I forgot the spaces in front of the characters. I am not familiar with how to use console.log. Thanks again!

1 Like

console.log is super helpful in debugging. In this case I’d add:

console.log(wordBlanks);

and then you can see what is inside that variable.

This is super helpful, thanks so much!

1 Like