Browse Source

modification html

master
gabrie.chataigner 3 years ago
parent
commit
37cf35cc4f
  1. BIN
      Thumbs.db
  2. 2
      code.js
  3. 13
      machinesous.html
  4. 8
      msjs.css

BIN
Thumbs.db

Binary file not shown.

2
code.js

@ -7,7 +7,7 @@ function nbAlea() {
function gain(nb1, nb2, nb3) { function gain(nb1, nb2, nb3) {
var mise = document.getElementById('???').innerHTLM; var mise = document.getElementById('???').innerHTLM;
var bac = document.getElementById('???').innerHTLM; var bac = document.getElementById('???').innerHTLM;
var jeton = document.getElementById('???').innerHTLM; var jeton = document.getElementById('mise').value;
var bac = bac + mise; var bac = bac + mise;
if (nb1 == 9 and nb2 == 9 and nb3 == 9){ if (nb1 == 9 and nb2 == 9 and nb3 == 9){
var jeton = jeton + bac; var jeton = jeton + bac;

13
machinesous.html

@ -12,7 +12,18 @@
<div class="imageD"> <div class="imageD">
<img src="index.jpg"> <img src="index.jpg">
</div> </div>
<button onclick="nbAlea()">Lancez !</button> <ul>
<li class='n1'>0</li>
<li class='n2'>0</li>
<li class='n3'>0</li>
</ul>
<h2>Banque</h2>
<li class='banque'>1000<li>
<h2>Vos sous</h2>
<li class='sous'>100</li>
<h2>Votre mise</h2>
<input id="mise" TYPE="text" VALUE="5">
<button onclick="nbAlea()"onclick="gain()">Lancez !</button>
<button onclick="regles">Règles :</button> <button onclick="regles">Règles :</button>
</header> </header>
</body> </body>

8
msjs.css

@ -27,4 +27,12 @@ button
{ {
width:5%; width:5%;
height:5%; height:5%;
}
ul li
{
display:inline;
font-size: 2em;
padding:2%;
color: orange;
} }
Loading…
Cancel
Save