Tell us what’s happening:
I’m confused as to what the final requirement of this project is asking me. We have to seperate the variables with string values right? Or can anyone clarify? Thank you! This is the third part of the instructions:
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).
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 the mighty, " + myNoun + " was very " + myAdjective + "!" + "The animal " + myVerb + "across the lawn, " + 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/96.0.4664.110 Safari/537.36
Challenge: Word Blanks
Link to the challenge: