// JavaScript function setCounterValue() { document.getElementById("compteur").innerHTML = "40"; } window.onload = setCounterValue;