From 4233a2153fb93f39128c98b7dd9b36eee5c757d0 Mon Sep 17 00:00:00 2001 From: Robert <152218269+PenguinRobert1@users.noreply.github.com> Date: Wed, 12 Mar 2025 04:40:33 +0000 Subject: [PATCH] look at my work --- WebGames-master/WebGames-master/index.html | 37 ++++++++++++++++ WebGames-master/WebGames-master/main.css | 22 ++++++++++ testacounts/app.js | 43 ------------------ testacounts/index.html | 32 -------------- testacounts/styles.css | 51 ---------------------- testacounts/users.txt | 0 6 files changed, 59 insertions(+), 126 deletions(-) delete mode 100644 testacounts/app.js delete mode 100644 testacounts/index.html delete mode 100644 testacounts/styles.css delete mode 100644 testacounts/users.txt diff --git a/WebGames-master/WebGames-master/index.html b/WebGames-master/WebGames-master/index.html index a1b318f9..b20adc62 100644 --- a/WebGames-master/WebGames-master/index.html +++ b/WebGames-master/WebGames-master/index.html @@ -1,5 +1,6 @@ +

@@ -33,7 +34,10 @@
+ +

+

@@ -45,6 +49,39 @@
dev_quiz
+
+ hang man +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
diff --git a/WebGames-master/WebGames-master/main.css b/WebGames-master/WebGames-master/main.css index f11f9300..cb0a9268 100644 --- a/WebGames-master/WebGames-master/main.css +++ b/WebGames-master/WebGames-master/main.css @@ -29,4 +29,26 @@ div.one { a:hover { border-bottom: 8px solid aquamarine; +} + +button { + font-family: sans-serif; + background-color: #173075; /* Green */ + border: none; + color: white; + padding: 15px 16px; + text-align: center; + text-decoration: none; + display: inline-block; + font-size: 16px; + margin: 4px 2px; + cursor: pointer; + border-radius: 12px; + position: absolute; + left: 0; + top: 0; +} + +button:hover { + background-color: #1f41a1; } \ No newline at end of file diff --git a/testacounts/app.js b/testacounts/app.js deleted file mode 100644 index 0ffdc013..00000000 --- a/testacounts/app.js +++ /dev/null @@ -1,43 +0,0 @@ -document.getElementById('loginForm').addEventListener('submit', function(event) { - event.preventDefault(); - const username = document.getElementById('loginUsername').value; - const password = document.getElementById('loginPassword').value; - - fetch('/login', { - method: 'POST', - headers: { - 'Content-Type': 'application/json' - }, - body: JSON.stringify({ username, password }) - }) - .then(response => response.json()) - .then(data => { - if (data.success) { - alert('Login successful'); - } else { - alert('Login failed: ' + data.message); - } - }); -}); - -document.getElementById('signUpForm').addEventListener('submit', function(event) { - event.preventDefault(); - const username = document.getElementById('signUpUsername').value; - const password = document.getElementById('signUpPassword').value; - - fetch('/signup', { - method: 'POST', - headers: { - 'Content-Type': 'application/json' - }, - body: JSON.stringify({ username, password }) - }) - .then(response => response.json()) - .then(data => { - if (data.success) { - alert('Sign up successful'); - } else { - alert('Sign up failed: ' + data.message); - } - }); -}); \ No newline at end of file diff --git a/testacounts/index.html b/testacounts/index.html deleted file mode 100644 index 7b1464c9..00000000 --- a/testacounts/index.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - Login and Sign Up - - - -
-

Login

-
- - - - - -
- -

Sign Up

-
- - - - - -
-
- - - -test \ No newline at end of file diff --git a/testacounts/styles.css b/testacounts/styles.css deleted file mode 100644 index 90af7def..00000000 --- a/testacounts/styles.css +++ /dev/null @@ -1,51 +0,0 @@ -body { - font-family: Arial, sans-serif; - background-color: #f0f0f0; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - margin: 0; -} - -.container { - background-color: white; - padding: 20px; - border-radius: 8px; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); - width: 300px; -} - -h1 { - text-align: center; -} - -form { - display: flex; - flex-direction: column; -} - -label { - margin-top: 10px; -} - -input { - padding: 8px; - margin-top: 5px; - border: 1px solid #ccc; - border-radius: 4px; -} - -button { - margin-top: 15px; - padding: 10px; - border: none; - border-radius: 4px; - background-color: #007BFF; - color: white; - cursor: pointer; -} - -button:hover { - background-color: #0056b3; -} \ No newline at end of file diff --git a/testacounts/users.txt b/testacounts/users.txt deleted file mode 100644 index e69de29b..00000000