You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
464 B
HTML

<!DOCTYPE html>
<html>
<head><title>doUntil example</title></head>
<body style="text-align:center">
<div id="display">Press one of the buttons below. Progress can be seen in the JavaScript console for both versions.</div>
<p>
<button onclick="findPrimesBlocking()">Find Primes (Blocking)</button>
<button onclick="findPrimesNonBlocking()">Find Primes (Non-Blocking)</button>
</p>
<script src="script.js"></script>
</body>
</html>