Does anybody know what this error means?

Bully vs You Error 2

I want a function on js to trigger another at random, but this keeps showing up instead. I’m not sure what’s going on html. Here’s the program I’m using:

function bullyattack(){
bullyattack.innerHTML = bullydamage;
bullyattack.innerHTML = bullycounter;
bullyattack.innerHTML = “bullystun”;
}

you mean the syntax error? it’s saying you’ve put the word HTMLElement without it making sense what you’re using that class for. I think you can click that VM227:1 link to see where that syntax error happened

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.