Basic JavaScript - Word Blanks

###Can somone explain to me why i am not passing the last thing:
Failed:wordBlanks should contain all of the words assigned to the variables myNoun, myVerb, myAdjective and myAdverb separated by non-word characters (and any additional words of your choice).
Describe your issue in detail here.

Your code so far

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

// Only change code below this line
const wordBlanks = "myNoun" + "," + "myAdjective" + ";" + "myVerb" + "myAdverb" + "."; // Change this line
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 OPR/

Challenge Information:

Basic JavaScript - Word Blanks

If you add console.log(wordBlanks) on the line after you declare the variable, you will see what it’s outputting to the console.

When you want to construct a string from string characters and variables, you should not include quotation marks around the variable names.


let myName="igorgetmeabrain";
let myGreeting="Hello, my name is " + myName + "!";
console.log(myGreeting); // Hello, my name is igorgetmeabrain!
1 Like


Here is the example for Word Blanks!

It was really ____, and we ____ ourselves ____.
const sentence = "It was really " + "hot" + ", and we " + "laughed" + " ourselves " + "silly" + ".";

I suggest using it as a reference on how to set up the current code.

The text hot, laughed and silly would be like adding myNoun, myVerb, myAdjective and myAdverb in the code.

I hope this helps you.