diff options
| author | UltraQbik <no1skill@yandex.ru> | 2024-08-31 16:20:39 +0300 |
|---|---|---|
| committer | UltraQbik <no1skill@yandex.ru> | 2024-08-31 16:20:39 +0300 |
| commit | 7edc75e87e4fd5964de1c009bf8f5c4fe541d720 (patch) | |
| tree | dbb6101f40f417a207fc6909af9b521a42199c19 | |
| parent | 6e2ebde31b399d5927a881b32f074800b45cdb57 (diff) | |
| download | httpy-7edc75e87e4fd5964de1c009bf8f5c4fe541d720.tar.gz httpy-7edc75e87e4fd5964de1c009bf8f5c4fe541d720.zip | |
delete js, cuz it's garbage
| -rw-r--r-- | www/js-test.html | 21 | ||||
| -rw-r--r-- | www/scripts/test.js | 14 |
2 files changed, 0 insertions, 35 deletions
diff --git a/www/js-test.html b/www/js-test.html deleted file mode 100644 index ccc6db8..0000000 --- a/www/js-test.html +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <title> The YES's Page </title> - <meta charset="UTF-8"> - <link rel="stylesheet" href="css/styles.css"> -</head> -<body> - <header> - <div style="float: left"> <button onclick="window.location.href='/'" style="font-size: 20px">sh%t go back</button> </div> - <div style="margin: auto; width: fit-content;"> <b> The Mighty HTML Page. Ew JS </b> </div> - </header> - <div id="section-div" style="align-content: center;text-align: center;"> - <canvas id="JSCanvas" width="512" height="512"></canvas> - </div> - <footer> - <p> This is a page for testing various things </p> - </footer> - <script src="/scripts/test.js"></script> -</body> -</html> diff --git a/www/scripts/test.js b/www/scripts/test.js deleted file mode 100644 index e9afd91..0000000 --- a/www/scripts/test.js +++ /dev/null @@ -1,14 +0,0 @@ -const canvas = document.getElementById("JSCanvas"); -const ctx = canvas.getContext("2d"); - -function draw() { - ctx.strokeStyle = "#" + Math.floor(Math.random() * 16777216).toString(16).padStart(6, '0') - ctx.beginPath(); - ctx.moveTo(Math.random() * 511, Math.random() * 511); - ctx.lineTo(Math.random() * 511, Math.random() * 511); - ctx.stroke(); -} - -for (let i = 0; i < 50; i++) { - draw() -} |