// 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
This is what I tried:
const wordBlanks = “My”+ myNoun +“saw a”+ myAdjective +“cat and”+ myVerb +“very”+ myAdverb +“I heard a loud noise then slowly walked away.”;
and this:
const wordBlanks = “My”+myNoun+“saw a”+myAdjective+“cat and”+myVerb+“very”+myAdverb+“I heard a loud noise then slowly walked away.”;
if you scroll down in the bottom-right corner of your screen (also called a console area), you will see a print-out of whatever you logged using the console.log command.
(it is sometimes hidden as the result of the test comes first, so just scroll down to see it)
SyntaxError: unknown: Invalid left-hand side in assignment expression. (6:0)
4 | const myAdverb = “quickly”;
5 | // Only change code below this line
6 | Console.log(wordBlanks) = “My”+myNoun+“saw a”+myAdjective+“cat and”+myVerb+“very”+myAdverb+“I heard a loud noise then slowly walked away.”; // Change this line
| ^
7 | // Only change code above this line
console.log(wordBlanks); // Change this line
This is what I got;
// 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 MydogsawabigcatandranveryquicklyI heard a loud noise then slowly walked away. MydogsawabigcatandranveryquicklyI heard a loud noise then slowly walked away.