wordBlanks Javascript. Not able to resolve

word Blanks code error

Hey!! I am not able to resolve the error till now. Please Help!!

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"  +  myNoun  +  "was"  +  myAdjective  +  "."  +  "Seeing"  +  ","  +  "to"  +  "him"  +  "the"  +  "cat"  +  myVerb  +  myAdverb  +  "." ; // Change this line
// Only change code above this line

Your browser information:

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

Challenge: Word Blanks

Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/word-blanksPreformatted text

To give you a little hint what’s wrong, try logging to the console your output :slight_smile:

console.log(wordBlanks);
1 Like

Thanks. It worked for me :slightly_smiling_face:

1 Like