JavaScript: Word Blank

Tell us what’s happening:
Hi guys I need help with this!!! I keep changing the codes around but i can’t seem to get it right!!!
Your code so far


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

// Only change code below this line
var wordBlanks = "The" + myAdjective + " " + myNoun + " " + myVerb + " " myAdverb + "."; 

Your browser information:

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

Challenge: Word Blanks

Link to the challenge:

Hi there,

at the moment there is an error in your code:

>  7 | var wordBlanks = "The" + myAdjective + " " + myNoun + " " + myVerb + " " myAdverb + "."; 
     |                                                                         ^

After you fix the error I suggest that you console.log the result to see how the output look like.

console.log(wordBlanks);
1 Like

thanks I got it right!!

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