Basic JavaScript - Word Blanks

Hello I am having issues with word blanks:
I looked at the hint and at the reference video, as well as other solutions but I am still lost. I am not sure why my code is not working. Thank you in advance for the 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 = "The " + myAdjective + "" + myNoun + "" + myVerb + "" + 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/ Safari/537.36

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

Do you know how console.log(); works yet?
The console.log() statement is used to print variables to screen

Add this code below the code you already have and see what it prints out with your code. It’ll show you why you are not passing the tests


Feel free to ask follow up questions, someone in the community will be happy to help if I’m not able to reply.

I haven’t learned to use it yet but thank you! let me try it out!

Thank you so much! after using the console.log i figured it out. I had “” with no space so it was all stuck together. After seeing that I was able to fix it!

1 Like

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