From 3dee04ccf10e46d9cf8f25e3446185e90524d2ea Mon Sep 17 00:00:00 2001 From: Sequoia Haynes Date: Sat, 23 Nov 2024 21:15:31 -0800 Subject: [PATCH] fire untested changes --- 15versions.html | 20 +++++----------- 18versions.html | 28 +++++++--------------- css/index.css | 57 +++++++++++++++++++++++++++++++++++++++++++++ index.html | 15 +++++++++--- js/versionSelect.js | 10 ++++++++ 5 files changed, 93 insertions(+), 37 deletions(-) create mode 100644 js/versionSelect.js diff --git a/15versions.html b/15versions.html index 554888d..40b2337 100644 --- a/15versions.html +++ b/15versions.html @@ -1,15 +1,7 @@ -
- -
- \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/18versions.html b/18versions.html index 1170207..3dfbe00 100644 --- a/18versions.html +++ b/18versions.html @@ -1,21 +1,9 @@ - -
- - -
\ No newline at end of file + + + + + + + + \ No newline at end of file diff --git a/css/index.css b/css/index.css index f2e415a..403b42f 100644 --- a/css/index.css +++ b/css/index.css @@ -216,4 +216,61 @@ button:hover { } #footerText > p { margin:0; +} +/* flexbox will solve all problems guys trust */ +#gamescontainer { + background-color: #d9d9d9; + border-radius: 20px; + height: 33%; + width: 75%; + display: flex; + flex-wrap: wrap; + flex-direction: row; + column-gap: 2ch; + row-gap: 2ch; +} +#stupid { + color: #a6a6a6; + height: 10px; + border-radius: 53px; + z-index: 2; + +} +#stupidbackgroundbox { + color: #a6a6a6; + z-index: -1; + height:10px; + border-radius: 53px; +} +#stupidcontainer{ + display: flex; + flex-direction: row; + height: 10px; + border-radius: 53px; +} +#dumb { + color: #d9d9d9; + z-index: 0; + height:10px; + border-radius: 53px; +} +#dumbBackgroundbox { + color: #d9d9d9; + z-index: 1; + height:10px; + border-radius: 53px; +} +#dumbcontainer { + display:flex; + flex-direction: row; + height:10px; +} +#versionSelector { + display: flex; + flex-direction: row; + flex-wrap: nowrap; + height: 10px; + width:100%; + justify-content: center; + width: 151px; } \ No newline at end of file diff --git a/index.html b/index.html index a5ff096..a00eac4 100644 --- a/index.html +++ b/index.html @@ -41,11 +41,20 @@
- - +
+ +
+
+
+ +
+
+
+
+
- +

DANGER ZONE

Reset All Local Data diff --git a/js/versionSelect.js b/js/versionSelect.js new file mode 100644 index 0000000..a20d346 --- /dev/null +++ b/js/versionSelect.js @@ -0,0 +1,10 @@ +var gamesDiv = document.getElementById("gamescontainer") +var ireallyhateasyncprogrammingpulhhhh = await fetch("./15versions.html") +var rfr = await fetch("./18versions.html") +async function set15() { + //wooooo more awaits i love waiting + gamesDiv.innerHTML = await ireallyhateasyncprogrammingpulhhhh.text +} +async function set18() { + gamesDiv.innerHTML = await rfr.text +}