Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| en:modul:m291:learningunits:lu07:aufgaben:03 [2025/05/05 09:58] – angelegt vdemir | en:modul:m291:learningunits:lu07:aufgaben:03 [2025/05/18 12:16] (aktuell) – [Assignment] vdemir | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== LU07.A03 - Events - TBD ====== | + | ====== LU07.A03 - Methods with several arguments |
| ===== Prerequisites | ===== Prerequisites | ||
| * 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: | + | * Expected result: |
| ===== Learning Objectves ===== | ===== Learning Objectves ===== | ||
| - | - ??? | + | - Implementing VUE methods by using arguments. |
| + | - Increment and decrement a counter within a method. | ||
| + | - Writing own methods and making use of them. | ||
| ===== Source ===== | ===== Source ===== | ||
| - | * [[https:// | + | * [[https:// |
| - | ===== Assignment: ??? | + | ===== Assignment |
| - | * ??? | + | * 01: Test the code example above which was provided to you. Describe the behaviour of the script using HTML comments. |
| + | * 02: Make sure that everthing is working correctly: When clicking on the tiger image there must appear a text below the image " | ||
| + | * 03: Make sure that you have the title <h1> and have correctly named the file: **lu07.s03s.html** | ||
| + | * 04: : You need to wo more animals to the list and greet them correspondingly to the provided example. | ||
| + | ===== Hint ===== | ||
| + | * Save 2 more pictures of animals in the media-directory | ||
| + | * Extend the arguments of the method: **myMethod(e, | ||
| + | * Process the additional **opp** in the method. | ||
| + | * Finnaly adjust the calling of the method at the pictures | ||
| + | |||
| ===== Solution ===== | ===== Solution ===== | ||
| - | [[en: | + | [[en: |
| ===== Vocabulary ===== | ===== Vocabulary ===== | ||
| ^ English ^ German ^ | ^ English ^ German ^ | ||
| - | | ... | ... | | + | | corresponding number of times | entsprechend oft | |
| + | | to increment | erhöhen, hochzählen | | ||
| + | | to decrement | vermindern, herunterzählen | | ||
| + | | thus | somit, dadurch | | ||