This commit is contained in:
cowboykipnugget
2025-02-12 09:26:41 +01:00
parent 0c471f723c
commit 3b13c7d32a
3 changed files with 3 additions and 15 deletions

View File

@@ -24,13 +24,6 @@
<p id="=item discription"></p>
</div>
<!-- Rechterkant detailweergave -->
<div id="menu-detail" class="menu-detail">
<h2 id="item-title">Selecteer een item</h2>
<img id="item-image" src="https://thumbs.dreamstime.com/b/submarine-sandwich-ham-cheese-clipping-path-egg-tomato-cucumber-lettuce-white-48580716.jpg" alt="https://thumbs.dreamstime.com/b/submarine-sandwich-ham-cheese-clipping-path-egg-tomato-cucumber-lettuce-white-48580716.jpg">
<p id="item-description"></p>
</div>
<footer>
<p>&copy; 2025 McDonald's</p>
</footer>

View File

@@ -1,8 +1,8 @@
// Functie om de details van een geselecteerd item weer te geven
function showItemDetails(item) {
let title = '';
let description = '';
let imageSrc = '';
var title = '';
var description = '';
var imageSrc = '';
// Afhankelijk van het geselecteerde item, pas de details aan
if (item === 'Broodjes') {

View File

@@ -58,11 +58,6 @@ body {
margin: 20px 0;
}
#item-image {
max-width: 200px;
margin-bottom: 20px;
}
/* Footer */
footer {
text-align: center;