From 93be706611952cbbbca18fffbf662866a3bdc7e6 Mon Sep 17 00:00:00 2001 From: IM23a-spirgif Date: Wed, 26 Feb 2025 09:30:33 +0100 Subject: [PATCH] small changes --- SBB-History.png => img/SBB-History.png | Bin index.html | 2 +- script1.js | 6 +++--- 3 files changed, 4 insertions(+), 4 deletions(-) rename SBB-History.png => img/SBB-History.png (100%) diff --git a/SBB-History.png b/img/SBB-History.png similarity index 100% rename from SBB-History.png rename to img/SBB-History.png diff --git a/index.html b/index.html index 808980b..8e5282d 100644 --- a/index.html +++ b/index.html @@ -57,7 +57,7 @@

SBB-History

A Website about the creation of the SBB (Swiss Train Corporation) with an interactable map!

- SBB-History + SBB-History

For a School Project, me and 2 friends had to create a page about the economic history of a part of the swiss, which we chose to do about the "SBB", the Swiss Train Coorporation, founded in 1902. It is a simple Website, using HTML, CSS and Javascript, alongside the "Maptiler" diff --git a/script1.js b/script1.js index cd7ba52..fc75a39 100644 --- a/script1.js +++ b/script1.js @@ -49,9 +49,9 @@ const npcMessage = { const controlsImage = new Image(200, 200); controlsImage.src = 'img/controls.png'; const backgrounds = [ - 'project-background-1.png', - 'project-background-2.png', - 'project-background-3.png' + 'img/project-background-1.png', + 'img/project-background-2.png', + 'img/project-background-3.png' ]; let scrollPosition = 0; const backgroundImages = backgrounds.map(src => {