Basic JavaScript - Word Blanks

Tell us what’s happening:

Hi, I’m having trouble with the word blanks challenge. I removed the quotes and I’m using all of the variables, but it’s still not passing.

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 + "furry " + myNoun + "always " + 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/119.0.0.0 Safari/537.36

Challenge Information:

Basic JavaScript - Word Blanks

If you add console.log(wordBlanks) at the end of your code, you will be able to see what the variable is outputting to the console and should see where the issues are.

It’s a really good habit to get into to use console.log() and other such tools, to test and debug your code.

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