Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:modul:m291:learningunits:lu05:loesungen:15 [2025/03/18 07:44] – gelöscht vdemir | en:modul:m291:learningunits:lu05:loesungen:15 [2025/03/28 11:39] (aktuell) – vdemir | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | ====== LU05.S15 - v-for list rendering ===== | ||
| + | ===== Hints ==== | ||
| + | * Download the file and copy the content into the code area of the W3School on the left hand side of the coding window. | ||
| + | * You can execute the code by pressing the //run// button | ||
| + | * The result will be presented in the right hand side of the window. | ||
| + | |||
| + | ===== Assignment ====== | ||
| + | Data is often available as lists/ | ||
| + | |||
| + | - Click on the provided link above and it with the appropriate name in your W3School workspace. | ||
| + | - Execute it with **Run**. You will see that the array data in the script part is now displayed numbered in the browser. | ||
| + | - Add 3-4 more entries to your food list, at the beginning, the middle part, and the end. | ||
| + | - Change the < | ||
| + | - Note down your observation as code comments and save your work. | ||
| + | |||
| + | ===== Solution ===== | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | |||
| + | ---- | ||
| + | [[https:// | ||
| + | | ||