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:aufgaben:15 [2025/03/21 15:16] – angelegt vdemir | en:modul:m291:learningunits:lu05:aufgaben:15 [2025/03/28 11:38] (aktuell) – [Assignment 1] vdemir | ||
|---|---|---|---|
| Zeile 4: | Zeile 4: | ||
| * Work type: Individual | * Work type: Individual | ||
| * Means of aid: only teaching materials, no websearch, no use of ai. | * Means of aid: only teaching materials, no websearch, no use of ai. | ||
| - | * Timeframe: | + | * Timeframe: |
| - | * Expected result: A Vue script that uses both directives, v-for | + | * Expected result: A Vue script that uses the directives v-for with <ol> and <ul> |
| ===== Learning objectives ===== | ===== Learning objectives ===== | ||
| - Be able to explain the objective of v-for | - Be able to explain the objective of v-for | ||
| - | - Displying the ndex and corresponding array entry using v-for. | + | - Displying the Index and corresponding array entry using v-for. |
| - Dispalying array elements and the corresponding images with v-for. | - Dispalying array elements and the corresponding images with v-for. | ||
| ===== Source ===== | ===== Source ===== | ||
| - | * [[https:// | + | [[https:// |
| - | ===== Assignment | + | ===== Assignment ====== |
| Data is often available as lists/ | Data is often available as lists/ | ||
| - | - Go to the link to the task mentioned in the source | + | - Click on the provided |
| - | - Let it run with **Run**. You will see that the array data in the script part is now displayed numbered in the browser. | + | - Execute |
| - Add 3-4 more entries to your food list, at the beginning, the middle part, and the end. | - Add 3-4 more entries to your food list, at the beginning, the middle part, and the end. | ||
| - | - Record | + | - Change the < |
| + | - Note down your observation as code comments and save your work. | ||
| Zeile 29: | Zeile 30: | ||
| ===== Solution ===== | ===== Solution ===== | ||
| [[en: | [[en: | ||
| + | |||
| + | |||
| Zeile 34: | Zeile 37: | ||
| ===== Vocabulary ===== | ===== Vocabulary ===== | ||
| ^ English ^ German ^ | ^ English ^ German ^ | ||
| - | | bulb | Glühbirne | + | | ... | ... | |