Basic JavaScript - Word Blanks

I can’t pass the following test :
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).

**This is what I have written : **

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

// Only change code below this line
const wordBlanks = "A very " + myAdjective + "black " + myNoun + "saw the storm and " + myVerb + "very " + myAdverb + "towards the porch."; // 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/ Safari/537.36

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

Immediately below this line add this


Then review the log to see the issue.

Thank you for the help! This was quite a silly mistake.

I would also like to add one more thing to this solution (for anyone who might refer this in the future) - Make sure that you guys give proper spacing to the strings that you are adding by yourself, so that they don’t get combined with the predefined variables given in the question while producing the output through the console.log( ) function.

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