From 9b61405f917c4310303d04d9630f134d4c45fe23 Mon Sep 17 00:00:00 2001 From: Benjamin Adovasio <111182300+Benjamin-Adovasio@users.noreply.github.com> Date: Fri, 5 Sep 2025 09:40:42 -0400 Subject: [PATCH] Add files via upload --- 2.html | 21 +++++++++++++++ 3.html | 21 +++++++++++++++ 4.html | 21 +++++++++++++++ 5.html | 21 +++++++++++++++ 6.html | 21 +++++++++++++++ index.html | 21 +++++++++++++++ options.html | 36 +++++++++++++++++++++++++ script.js | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ style.css | 55 ++++++++++++++++++++++++++++++++++++++ 9 files changed, 291 insertions(+) create mode 100644 2.html create mode 100644 3.html create mode 100644 4.html create mode 100644 5.html create mode 100644 6.html create mode 100644 index.html create mode 100644 options.html create mode 100644 script.js create mode 100644 style.css diff --git a/2.html b/2.html new file mode 100644 index 0000000..fb81e17 --- /dev/null +++ b/2.html @@ -0,0 +1,21 @@ + + + + + + + Final Project + + +
+ +
+ + + + + + diff --git a/3.html b/3.html new file mode 100644 index 0000000..fb81e17 --- /dev/null +++ b/3.html @@ -0,0 +1,21 @@ + + + + + + + Final Project + + +
+ +
+ + + + + + diff --git a/4.html b/4.html new file mode 100644 index 0000000..fb81e17 --- /dev/null +++ b/4.html @@ -0,0 +1,21 @@ + + + + + + + Final Project + + +
+ +
+ + + + + + diff --git a/5.html b/5.html new file mode 100644 index 0000000..fb81e17 --- /dev/null +++ b/5.html @@ -0,0 +1,21 @@ + + + + + + + Final Project + + +
+ +
+ + + + + + diff --git a/6.html b/6.html new file mode 100644 index 0000000..fb81e17 --- /dev/null +++ b/6.html @@ -0,0 +1,21 @@ + + + + + + + Final Project + + +
+ +
+ + + + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..445f78e --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + + + + + + Final Project + + +
+ +
+ + + + + + diff --git a/options.html b/options.html new file mode 100644 index 0000000..84e8359 --- /dev/null +++ b/options.html @@ -0,0 +1,36 @@ + + + + + + + Final Project + + +
+ +
+ + +

Options:

+ + + + + + + + + + + +
Current Scenes:
Scene 1
+

Type a new name and click enter to save

+ + + + + diff --git a/script.js b/script.js new file mode 100644 index 0000000..1e892b2 --- /dev/null +++ b/script.js @@ -0,0 +1,74 @@ +let sceneArray = ['Scene 2','Scene 3'] ; +array_str = JSON.stringify(sceneArray); +setCookie("sceneArray",array_str, 5); +let sceneCount = 1; + +function addScene() { + sceneCount++; + let newScene = "Scene " + sceneCount; + sceneArray.push(newScene); + setCookie("sceneArray",array_str, 5); +} + +sceneArray = getCookie("sceneArray"); + +for (i=0; i