What you have is trying to include created and methods as part of your watch.
If you move the } on line 64 to between lines 32 and 33 that should put you back on track, but admittedly I'm not getting anything other than the "Questions usually contain a question mark" answer in Codesandbox.
It's working when I run the code locally after moving the } though...
The issue is with a misplaced
}
.What you have is trying to include
created
andmethods
as part of yourwatch
.If you move the
}
on line 64 to between lines 32 and 33 that should put you back on track, but admittedly I'm not getting anything other than the "Questions usually contain a question mark" answer in Codesandbox.It's working when I run the code locally after moving the
}
though...The second issue was a misplaced ).
On line 49 the conditional should have been written:
if(this.answer.indexOf('?') === -1) whereas I had if(this.answer.indexOf('?' === -1)).
Wow, it would have taken me forever to find that - good catch!
Fortunately, you made me conscious of such possibilities :)
TY muchly. I am getting the same thing but at least the first issue is solved and it is a new week now. :)