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
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.
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
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
Variables inside quotes will not be interpreted properly. They will be treated as strings which means their value will not be retrieved and used from the computer’s memory.
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.