Benutzer:Ensik: Unterschied zwischen den Versionen

Aus Gronkh-Wiki
Wechseln zu: Navigation, Suche
Zeile 17: Zeile 17:
 
while(c < 3){
 
while(c < 3){
 
if(parseInt(rat) == zufall){
 
if(parseInt(rat) == zufall){
alert("Jaaa, richtig!! :)");
+
alert("Jaaa, richtig!! Nun bist du meiner Infos würdig :D");
 +
document.getElementById("infos").innerHTML = "New text!";
 
break;
 
break;
 
}
 
}
Zeile 39: Zeile 40:
 
}
 
}
 
}
 
}
document.getElementById("test").innerHTML = "New text!";
 
 
     }
 
     }
 
     </script>
 
     </script>
Zeile 46: Zeile 46:
 
     <body onload="load()">
 
     <body onload="load()">
  
     <h1 id="test">Hi!</h1>
+
     <h1 id="infos">Hi!</h1>
 
     </body>
 
     </body>
 
     </html>
 
     </html>

Version vom 3. November 2018, 12:56 Uhr

Hi!