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:
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.
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 " + myVerb + " " + myAdverb + ". ";
wordBlanks should contain all of the words assigned to the variables
myAdverb separated by non-word characters (and any additional words
I believe I properly spaced the sentence although I am still getting this error. I am stuck here.