Can anyone help me figure out why this code won’t pass?
Says 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)."
Which I believe I’ve covered all.
Your code so far
const myNoun = "dog";
const myAdjective = "big";
const myVerb = "ran";
const myAdverb = "quickly";
// Only change code below this line
const wordBlanks = "The "+"myNoun "+"was so "+"myAdjective "+"and "+"myVerb "+"so "+"myAdverb "+"towards me" + ".";
// Change this line
// Only change code above this line
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Challenge Information:
Basic JavaScript - Word Blanks