small changes

This commit is contained in:
IM23a-spirgif
2025-02-26 09:30:33 +01:00
parent 05b87ae8d3
commit 93be706611
3 changed files with 4 additions and 4 deletions

Before

Width:  |  Height:  |  Size: 899 KiB

After

Width:  |  Height:  |  Size: 899 KiB

+1 -1
View File
@@ -57,7 +57,7 @@
<h3 class="project-name">SBB-History</h3>
<p class="project-description">A Website about the creation of the SBB (Swiss Train Corporation) with an
interactable map!</p>
<img src="SBB-History.png" alt="SBB-History">
<img src="img/SBB-History.png" alt="SBB-History">
<p class="long-description" data-project-name="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"
+3 -3
View File
@@ -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 => {