diff options
Diffstat (limited to 'js/perso.js')
-rw-r--r-- | js/perso.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/perso.js b/js/perso.js new file mode 100644 index 0000000..365cf54 --- /dev/null +++ b/js/perso.js @@ -0,0 +1,5 @@ +function displayPerso(hp,xp,lv){ + document.getElementById("hp").innerHTML = hp; + document.getElementById("lv").innerHTML = lv; + document.getElementById("xp").innerHTML = xp; +} |