Tell us what’s happening:
In this challenge, we provide you with a noun, a verb, an adjective and an adverb. You need to form a complete sentence using words of your choice, along with the words we provide.
You will need to use the string concatenation operator
+ to build a new string, using the provided variables:
myVerb , and
myAdverb . You will then assign the formed string to the
wordBlanks variable. You should not change the words assigned to the variables.
You will also need to account for spaces in your string, so that the final sentence has spaces between all the words. The result should be a complete sentence.
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" + "big " + "dog" + "ran" + "quickly" + "down the street" + "."; // 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/86.0.4240.75 Safari/537.36.
Challenge: Word Blanks
Link to the challenge: