I\'m making a mini-game where a player attacks a npc and in the center is a white box (div) that I call (log), because when the player damages/attacks the npc, I want to be
document.getElementById('log').innerHTML += 'Some new content!';
initial content