Probably simple, but I don't get it

I fell like I’ve done everything that has been asked of me here. Is there something missing?

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

// Only change code below this line
var wordBlanks = "My " + "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/81.0.4044.113 Safari/537.36.

Challenge: Word Blanks

Link to the challenge:

Welcome, endaksi.

Add this to the last line of the script, and see if that is what you expected:


Hope this helps

1 Like

Hey, Thanks for the quick response.

I tried adding the console.log, but I’m still getting the same issue.

Ok I figured it out

Was using too many quotation marks :sweat_smile:


I think you are treating your variables and your literal text the same. You need to have quotes around literal text when you string it together, e.g. + “big” +. If you want to store big in a variable you define it like you did:

var myAdjective = “big”;

Then when you want to print big, you can use the variable that contains it, e.g. + myAdjective +. Not quotes, just the variable name with the leading and training concatenation symbols (+).

I hope this helps.

1 Like

Thanks for clear explanation :slight_smile: