Browse Source

Erstellung helperScript fuer ausgelagerte Funktionen

main
Lucas Thenert 2 years ago
parent
commit
45332b9cdb
  1. 8
      kniffel/inc/helper.js
  2. 1
      kniffel/index.html

8
kniffel/inc/helper.js

@ -0,0 +1,8 @@
function moeglicheWuerfeZuruecksetzen(){
document.getElementById('erlaubteVersuche').innerHTML = '3';
document.getElementById('CheckBoxWuerfel1').checked = false;
document.getElementById('CheckBoxWuerfel2').checked = false;
document.getElementById('CheckBoxWuerfel3').checked = false;
document.getElementById('CheckBoxWuerfel4').checked = false;
document.getElementById('CheckBoxWuerfel5').checked = false;
}

1
kniffel/index.html

@ -5,6 +5,7 @@
<link rel="stylesheet" type="text/css" href="css/styles.css" />
<script type="text/javascript" src="inc/wuerfel.js"></script>
<script type="text/javascript" src="inc/sammleGleicheZahlen.js"></script>
<script type="text/javascript" src="inc/helper.js"></script>
</head>
<body>

Loading…
Cancel
Save