Tell us what’s happening:
Describe your issue in detail here.
Keep getting stuck on wordBlanksshould contain all of the words assigned to the variablesmyNoun,myVerb,myAdjectiveandmyAdverb` separated by non-word characters (and any additional words of your choice).
**Your code so far**
const myNoun = "dog";
const myAdjective = "big";
const myVerb = "ran";
const myAdverb = "quickly";
// Only change code below this line
const wordBlanks = ""; // Change this line
// Only change code above this line
const result
= "My" + myNoun + " is very " + myAdjective + " but he " + myVerb + " so " + myAdverb + ".";
console.log(result)
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
const result
= " My " + myNoun + " is very " + myAdjective + " but he " + myVerb + " so " + myAdverb + “.”;
/ running tests
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).
// tests completed
// console output
My dog is very big but he ran so quickly.
i changed it now, still getting 3 out of the 4 check marks. just missing
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).
// tests completed
// console output
My dog is very big but he ran so quickly.
Ok, you can erase your first wordBlanks declaration, that may fix the problem
That error appears every time you do something like this:
const a = 0;
const a = 1;
A const can’t be changed in that way, 'cause is designed to throw an error everytime you try to mutate it.
So, in brief, your const wordBlanks can only be declared one time. Excuse me if I don’t explain myself very well… The main reason is that my English is not very good xD