Basic JavaScript - Word Blanks

Tell us what’s happening: Don’t understand what I need to finish this challenge, I’ve already tried leaving no spaces and spaces between plus signs and what not. thank you.

Describe your issue in detail here.

Your code so far

const myNoun = "dog";
const myAdjective = "big";
const myVerb = "ran";
const myAdverb = "quickly";

// Only change code below this line
const wordBlanks = "There was a " + myAdjective + "ass " + myNoun + "and we " + myVerb + "very "+ myAdverb + "."; // Change this line
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15

Challenge Information:

Basic JavaScript - Word Blanks

this is what the challenge says to do.

You will need to use the string concatenation operator + to build a new string, using the provided variables: myNoun, myAdjective, 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.

this is the only part of the test I can not check off.
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)

omg nvm I just realized all I needed was space before the quoted lines sorry

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.