Hitpoint Counter DOM Element?

I need a UI that displays the current hitpoints of the player, but I need to know how DOM elements work in Scripts 2.0. I don’t know if they’re the same or not but I also forgot how to use DOM elements in Legacy as well. Need a refresher. Anyone know how to use DOM or an easier alternative?

Well, obviously you can manipulate DOM by JS calls like document.getElementsByClassName.

Doesn’t it work?

I think @Ben was working on an HTML UI tutorial…

That would be helpful.