mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-06 02:57:30 +01:00
sdfgh
This commit is contained in:
@@ -4,7 +4,7 @@ function showCategory(category) {
|
||||
productDisplay.innerHTML = ''; // Maak het display leeg voordat we nieuwe items toevoegen
|
||||
|
||||
let items = [];
|
||||
}
|
||||
|
||||
// Afhankelijk van de gekozen categorie, voeg je de juiste producten toe
|
||||
if (category === 'Broodjes') {
|
||||
items = [
|
||||
@@ -103,6 +103,7 @@ function showCategory(category) {
|
||||
{ title: "Hervul baar bekers", imageSrc:"https://th.bing.com/th/id/OIP.7V3t9HqIG_ss_IfEn6vgIwHaFl?w=238&h=180&c=7&pcl=1b1a19&r=0&o=5&pid=1.7", price: 1.00},
|
||||
{ title: "Rietjes", imageSrc: "https://th.bing.com/th/id/OIP.hiraJOON9-g_L44k0RRJ2QHaHa?w=186&h=190&c=7&pcl=1b1a19&r=0&o=5&pid=1.7", price: 0.15},
|
||||
];
|
||||
}
|
||||
// Voeg de items toe aan de weergave
|
||||
items.forEach(item => {
|
||||
const productBox = document.createElement('div');
|
||||
|
||||
Reference in New Issue
Block a user