Basic JavaScript - Word Blanks

Tell us what’s happening:
my sentences are seperated with words but it still says You should not directly use the values dog , ran , big , or quickly to create wordBlanks… how do i go about it plz?

Your code so far

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

// Only change code below this line
const wordBlanks = "My " + "dog" + " is so " + "big" + " and can " + "ran" + " so very " + "quickly" + "."; // 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/104.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

Look at what you did:

Do you see how you used the words “dog”, “ran”, “big”, and “quickly” in your solution. You want to use the variables that store those words instead. They are defined at the very beginning of the code.

you mean instead of me to use dog i should replace it with myNoun and so on

Exactly. You want to use the variables that store those values.

have try that but it pass that step but unpass this step… 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

but thanks cos i was able to pass that step but the last step has to unpass me

What’s your code now? Please post your code.

const myNoun = "dog";

const myAdjective = "big";

const myVerb = "ran";

const myAdverb = "quickly";

// Only change code below this line

const wordBlanks = "The Fat " + "dog" + "chased the " + "big" + "cat, and it " + "ran" + "so " + "quickly. "; // Change this line

// Only change code above this line

Pls it not Validating, what do i do?

please create your own topic for your own question!

Tell us what’s happening:
hi guys, i still don’t know why the last step keep on saying… 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)… i know am correct or i missing something

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 " + "myNoun" + " was so " + "myAdjective" + " that it " + "myVerb" + " very " + "myAdverb" + "."; // 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/104.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Word Blanks

Link to the challenge:

You need to use quotes if you wanna use string.
If you wanna use variable, you don’t wanna use brackets.

am still confuse here…still don’t know what to do…can u give me a hint to go about it if you don’t mind please…thanks

You still have these variable names in quotes. Remove the quotes from around the variable names.

thanks i was able to get it this time