diff --git a/README.md b/README.md index d72abb30..11a1b88c 100644 --- a/README.md +++ b/README.md @@ -197,57 +197,91 @@ Then a `pkg` directory will be created, containing everything you need for a web ```html - - - Scryer Prolog - Sudoku Solver Example - - - + + // Output results + const solutionDiv = document.querySelector("#soduku-solution"); + for (const solution of formattedSolutions) { + const newPre = document.createElement("pre"); + newPre.textContent = solution; + solutionDiv.appendChild(newPre); + } + + + + +

Sudoku solver returns:

+
+ +
+ + ```