replaceChildren

This commit is contained in:
2020-10-12 21:36:09 +02:00
parent f198715e45
commit 9dcf222c87
5 changed files with 37 additions and 23 deletions

View File

@ -13,6 +13,7 @@
<title>Sudoku</title>
<link rel='stylesheet' type='text/css' href='style.css' />
<script src='sudoku.js'></script>
<link rel="icon" type="image/png" href="favicon.png">
</head>
<body>
<header>
@ -29,7 +30,7 @@
<?php
for ($column = 0; $column < 9; $column++) {
$value = $gridStr[9*$row+$column];
if ($value == UNKOWN) {
if ($value == UNKNOWN) {
$value = "";
$disabled = "";
} else {
@ -58,7 +59,7 @@
?>
</div>
<div>
<button type='reset'>Tout effacer</button>
<button type='button' onclick='clearAll()'>Tout effacer</button>
<button id='undoButton' type='button' onclick='undo()' disabled title='Annuler' accesskey='z'>Annuler</button>
<input id='colorPicker' type='color' title='Changer de couleur de stylo' value='#00008b'/>
</div>