Morpion-HTML : Différence entre versions

De TravauxIndse
(Page créée avec « <pre> <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="morpion.css"><link rel="icon" type="image/x-icon" href="favicon.ico"> <title>Jeu du morpion</title> </he... »)
 
 
Ligne 1 : Ligne 1 :
 +
 
<pre>
 
<pre>
 
<!DOCTYPE html>
 
<!DOCTYPE html>
Ligne 20 : Ligne 21 :
 
<p id="exemple"></p>
 
<p id="exemple"></p>
 
</pre>
 
</pre>
 +
 +
</pre>
 +
 +
<pre>
 
<script src="morpion.js"></script>
 
<script src="morpion.js"></script>
 
</body>
 
</body>
 
 
</html>
 
</html>
 +
</pre>

Version actuelle datée du 9 juin 2022 à 11:21

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="morpion.css"><link rel="icon" type="image/x-icon" href="favicon.ico">

<title>Jeu du morpion</title>

</head>
<body>
<h1 id="machin"> Jeu du morpion </h1>
<p id="joueur">Joueur X c'est à vous!</p>
<pre>

<button id="1" onclick="main1()"></button><button id="2" onclick="main2()"></button><button id="3" onclick="main3()"></button>
<button id="4" onclick="main4()"></button><button id="5" onclick="main5()"></button><button id="6" onclick="main6()"></button>
<button id="7" onclick="main7()"></button><button id="8" onclick="main8()"></button><button id="9" onclick="main9()"></button>

<button onclick="reset()">Reset</button>
<p id="exemple"></p>
</pre>
<script src="morpion.js"></script>
</body>
</html>