mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-06 21:36:27 +01:00
adsoj
This commit is contained in:
@@ -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>© 2025 McDonald's</p>
|
||||
</footer>
|
||||
|
||||
@@ -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') {
|
||||
|
||||
@@ -58,11 +58,6 @@ body {
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
#item-image {
|
||||
max-width: 200px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
footer {
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user