I am trying to make my own version of a pokemon game using very simple HTML and JavaScript.
So far, I have everything covered, except the health bar. How do I make an entity in my code, that will represent a bar, and when the opposing team selects a move, the health bar goes down?
Would I use a bunch of small div's?