Tell us what’s happening:
I’m stuck, see the instructions given to me below. I have tried all my best but i just can’t seem to get it right.
wordBlanks
should be a string.
Passed
You should not change the values assigned to myNoun
, myVerb
, myAdjective
or myAdverb
.
Passed
You should not directly use the values dog
, ran
, big
, or quickly
to create wordBlanks
.
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 in your madlib).
The last part is the challenge how do i do that when the instruction reads; “ou should not directly use the values dog
, ran
, big
, or quickly
to create wordBlanks
.”
Your code so far
var myNoun = "dog";
var myAdjective = "big";
var myVerb = "ran";
var myAdverb = "quickly";
// Only change code below this line
var wordBlanks = "myAdjective"; + "myNoun", " " + "myVerb", " " + "myAdverb";
// 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.164 Safari/537.36
Challenge: Word Blanks
Link to the challenge: