What could be missing their?

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


var myNoun = "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";
var WordBlanks
// Only change code below this line
var wordBlanks = "My" + myNoun + "is very" + myAdjective + "and he" + 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/91.0.4472.124 Safari/537.36

Challenge: Word Blanks

Link to the challenge:

Hi @shelarrekha9 !

Welcome to the forum!

Add this to your code and you will see the issue :grinning:

console.log(wordBlanks)
1 Like

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


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

// Only change code below this line
console.log(wordBlanks) == "My" + myNoun + "is very" + myAdjective + "and he" + 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/91.0.4472.124 Safari/537.36

Challenge: Word Blanks

Link to the challenge:

ReferenceError: wordBlanks is not defined. You need to define it. And your code is missing a lot of space .

Hi again!

I think there was a misunderstanding of how to use console.log.

You should add console.log at the bottom of your code.

Not write it like this.

console.log is a debug tool that will help you see the issue.

Go back to your original code from earlier.

var myNoun = "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";
var WordBlanks
// Only change code below this line
var wordBlanks = "My" + myNoun + "is very" + myAdjective + "and he" + myVerb + "very" + myAdverb + "."; // Change this line
// Only change code above this line
console.log(wordBlanks)

You should see this in the console right now.
Screen Shot 2021-07-01 at 11.38.11 PM

Now you should be able to see the issue.

Hope that makes sense now!

1 Like

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