Basic JavaScript - Word Blanks Final Test Requirement Help

Tell us what’s happening:

Hello all,

I have been trying to parse the error message for a while now and even sleeping on it has left me with nothing. The console is saying that wordBlanks should contain all the variables words and be separated by non word characters. To my eyes that is exactly what I have done.

Any help would be greatly appreciated, I am not sure where to go from here.

Many thanks in advance for your help!

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" + myAdjective + " brown " + myNoun + " escaped its leash and " + myVerb + " very " + myAdverb + "."; // Change this line
// Only change code above this line

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

You’re close. If I

console.log(wordBlanks);

then I see

Thebig brown dog escaped its leash and ran very quickly.
1 Like

As always, these forums are a god-send! Thank you so much!

I will take this as a reminder to double check the seemingly obvious :smiley:

1 Like

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