<script>
function init() {
var planet = document.getElementById("greenplanet");
console.log(planet );
setTimeout(() => {
planet.innerHTML = "Red Alert: hit by phaser fire!";
},1000);
}
window.onload = init;
</script>