its saying ’ 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).’
this to me sounds like i should be typing dog instead of myNoun. but if i do it asked me not to directly use the words. i dont understand this question.
Your code so far
const myNoun = "dog";
const myAdjective = "big";
const myVerb = "ran";
const myAdverb = "quickly";
// Only change code below this line
const wordBlanks = "My" + "myNoun " + "is " + "myAdjective " + ", and he " + "myVerb " + "after a cat " + "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/117.0.0.0 Safari/537.36 Edg/117.0.2045.60
Challenge: Basic JavaScript - Word Blanks
Link to the challenge: