Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
en:modul:m291:learningunits:lu05:aufgaben:16 [2025/03/28 11:53] – vdemir | en:modul:m291:learningunits:lu05:aufgaben:16 [2025/03/28 12:02] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 21: | Zeile 21: | ||
- Change within the **v-for** the **x** to **z**. | - Change within the **v-for** the **x** to **z**. | ||
- Execute your script | - Execute your script | ||
- | - Then change **x** within the **< | + | - Then change **x** within the //< |
- Note down for what the first respectively the second usage of **x/z** stands for. | - Note down for what the first respectively the second usage of **x/z** stands for. | ||
===== Assignment 2 ===== | ===== Assignment 2 ===== | ||
- | It can happen, that besides the image, we also want to display the description of our products on our website. | + | It can happen, that besides the image, we also want to display the description of our products on our website. |
- | | + | - Add a column **comm**-column with comments to your food-list (array) in the script part. |
- | - Execute your script. If everything was done properly you will see the content as before. | + | |
- | | + | |
* If you like it: **OK**. | * If you like it: **OK**. | ||
* If not: **NOK** | * If not: **NOK** | ||
- | - Display the comm-entries after the name of the dish by using {{ z.comm | + | - Display the comm-entries after the name of the dish by using **z.comm** |
- | - Execute your script. If everything was done properly you will see the images as before AND the comment below the image. | + | - Execute your script. If everything was done properly you will see the images as before AND the comment below the images. |
- Comment your script accordingly an save it. | - Comment your script accordingly an save it. | ||