  pourcentageElt.style.opacity = "0.9";
                }
                if (healthlife >= 0 && healthlife <= 10) {
                    healthElt.style.opacity = "1";
                    pourcentageElt.style.opacity = "0.9";
                }
            }
        }

    </script>
</body>

</html>