mirror of
https://github.com/Alvin-Zilverstand/Schoolkantine.git
synced 2026-03-07 05:53:00 +01:00
adsoj
This commit is contained in:
@@ -24,13 +24,6 @@
|
|||||||
<p id="=item discription"></p>
|
<p id="=item discription"></p>
|
||||||
</div>
|
</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>
|
<footer>
|
||||||
<p>© 2025 McDonald's</p>
|
<p>© 2025 McDonald's</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
// Functie om de details van een geselecteerd item weer te geven
|
// Functie om de details van een geselecteerd item weer te geven
|
||||||
function showItemDetails(item) {
|
function showItemDetails(item) {
|
||||||
let title = '';
|
var title = '';
|
||||||
let description = '';
|
var description = '';
|
||||||
let imageSrc = '';
|
var imageSrc = '';
|
||||||
|
|
||||||
// Afhankelijk van het geselecteerde item, pas de details aan
|
// Afhankelijk van het geselecteerde item, pas de details aan
|
||||||
if (item === 'Broodjes') {
|
if (item === 'Broodjes') {
|
||||||
|
|||||||
@@ -58,11 +58,6 @@ body {
|
|||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#item-image {
|
|
||||||
max-width: 200px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Footer */
|
/* Footer */
|
||||||
footer {
|
footer {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user