From 7e1cbbea906548770544bb590eb5f9c9832d69f6 Mon Sep 17 00:00:00 2001 From: cowboykipnugget <524877@vistacollege.nl> Date: Fri, 21 Feb 2025 11:06:15 +0100 Subject: [PATCH 1/3] s --- website/script.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/script.js b/website/script.js index 8440d66..5c3b0a1 100644 --- a/website/script.js +++ b/website/script.js @@ -100,6 +100,8 @@ function showCategory(category) { { title: "Haribo Kikkers", imageSrc: "media/kikkertjes.png", price: 2.50 }, { title: "Haribo Bananen", imageSrc: "media/bananas.png", price: 2.50 }, { title: "Haribo Goudberen", imageSrc: "media/Goudberen.png", price: 2.50 }, + { title: "Popcorn zoet", imageSrc: "https://th.bing.com/th/id/OIP.6We0JA1TcUt_QOqMcMZsPwAAAA?rs=1&pid=ImgDetMain", price: 2.50 }, + { title: "Popcorn zout", imageSrc: "https://www.sligro.nl/image-service/_jcr_content.product.08713276292032.image/1/large.jpeg", price: 2.50 } ]; } else if (category === 'Overige') { items = [ @@ -258,6 +260,10 @@ function getDescription(title) { return "bluh"; } if (title === "Haribo Bananen") { return "bluh"; + } if (title === "Popcorn zoet") { + return "bluh"; + } if (title === "Popcorn zout") { + return "bluh"; } return ""; From a74c2016efbb68ab3d6a846045d4486794042c30 Mon Sep 17 00:00:00 2001 From: cowboykipnugget <524877@vistacollege.nl> Date: Fri, 21 Feb 2025 11:09:10 +0100 Subject: [PATCH 2/3] s --- website/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/script.js b/website/script.js index 123c660..708393b 100644 --- a/website/script.js +++ b/website/script.js @@ -104,6 +104,8 @@ function showCategory(category) { { title: "Haribo Tropifrutti", imageSrc: "media/tropifrutti.png", price: 2.50 }, { title: "Haribo Tangfastics", imageSrc: "media/tangfastics.png", price: 2.50 }, { title: "Haribo Kersen", imageSrc: "media/Kersen.png", price: 2.50 }, + { title: "Popcorn zoet", imageSrc: "https://th.bing.com/th/id/OIP.6We0JA1TcUt_QOqMcMZsPwAAAA?rs=1&pid=ImgDetMain", price: 2.50 }, + { title: "Popcorn zout", imageSrc: "https://www.sligro.nl/image-service/_jcr_content.product.08713276292032.image/1/large.jpeg", price: 2.50 } ]; } else if (category === 'Overige') { items = [ From 5f3d2c65f8d888607238eca1a707f8583b0f9b64 Mon Sep 17 00:00:00 2001 From: cowboykipnugget <524877@vistacollege.nl> Date: Fri, 21 Feb 2025 11:13:00 +0100 Subject: [PATCH 3/3] s --- website/index.html | 2 +- website/script.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/index.html b/website/index.html index cace237..9008136 100644 --- a/website/index.html +++ b/website/index.html @@ -22,7 +22,7 @@
- + diff --git a/website/script.js b/website/script.js index 708393b..12af76e 100644 --- a/website/script.js +++ b/website/script.js @@ -90,9 +90,9 @@ function showCategory(category) { ]; - } else if (category === 'Yoghert') { + } else if (category === 'Yoghurt') { items = [ - { title: "Aardbij yoghert", imageSrc: "media/aardbij-yoghurt.png", price: 5.10 }, + { title: "Aardbij yoghurt", imageSrc: "media/aardbij-yoghurt.png", price: 5.10 }, ]; } else if (category === 'Snoep') { items = [ @@ -253,7 +253,7 @@ function getDescription(title) { } if (title === "Appelflap") { return "bluhll"; - } if (title === "Aardbij yoghert") { + } if (title === "Aardbij yoghurt") { return "bluhllllllllllllllllllllll"; } if (title === "Haribo starmix") {