diff options
author | Moritz Poldrack | 2021-04-25 22:45:15 +0200 |
---|---|---|
committer | Moritz Poldrack | 2021-04-25 22:45:15 +0200 |
commit | 8fdbdbbaf6837e1df3adca520fc61031b4289bcd (patch) | |
tree | 8eac1c37b866fea6293dd199490c8ef09ac9320c | |
parent | 5f928128b3904bf4fb415013ec8082016424c382 (diff) |
harness the power of the web
-rw-r--r-- | next-prime/next.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/next-prime/next.html b/next-prime/next.html new file mode 100644 index 0000000..7d813c6 --- /dev/null +++ b/next-prime/next.html @@ -0,0 +1,26 @@ +<html> + <head> + <title>Get next prime</title> + <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Gloria+Hallelujah"> + <style> + body { + width: 100%; + height: 100%; + background-color: #0000BF; + color: #00FF00; + font-family: "Comic Sans", "Gloria Hallelujah", sans-serif; + } + </style> + </head> + <body> + <h1>FILL OUT THIS FORM TO GET THE NEXT PRIME NUMBER</h1> + <input type="number" id="n"> + <button onclick="getNextPrime()">Tell me!</button + </body> + <script> + function getNextPrime(){ + var n = document.getElementById('n').value; + window.location.replace("https://www.wolframalpha.com/input/?i=1st+prime+after+"+n); + } + </script> +</html> |