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:lu07:loesungen:03 [2025/05/05 14:36] – vdemir | en:modul:m291:learningunits:lu07:loesungen:03 [2025/06/05 12:22] (aktuell) – vdemir | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== LU07.S03 - Events - Animal-count (arguments) ====== | + | ====== LU07.S03 - Methods with several |
| - | + | ||
| - | ===== Assignment A - 3' ====== | + | |
| - | * A01: Test the code example above which was provided to you. Describe the behaviour of the script using HTML comments. | + | |
| - | * A02: Check to basic function of the script. When clicking the tiger-image the a message which greets the tiger should appear in the green field below the image. | + | |
| - | * A03: Make sure that you have the title <h1> and have correctly named the file: **lu07.s03.html** | + | |
| - | * A04: Safe it. | + | |
| - | + | ||
| - | ===== Assignment B: Extend the argument list - 10' ===== | + | |
| - | * B01: Kindly as we are, we not only want to greet the tiger, but alse show a title to the image. | + | |
| - | * B02: There must be a message commencef as well, "you look terrifying!! | + | |
| - | * B03: Note: The signature of the method must therefore be extended by additional arguments: title and message. | + | |
| - | * | + | |
| - | ===== Assignment C: Add more animals to greet - 7' ===== | + | |
| - | * C01: As we were able to greet the tiger properly, we are seeking new challanges. Add two more animals to be greeted with the corresponding title and message. | + | |
| + | ===== 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.s0s.html** | ||
| + | * 04: : You need to wo more animals to the list and greet them correspondingly to the provided example. | ||
| + | |||
| ===== Solution ===== | ===== Solution ===== | ||
| + | {{: | ||
| - | {{ : | + | {{ : |
| - | + | ||
| - | {{: | + | |
| Zeile 27: | Zeile 18: | ||
| - | ---- | + | ----- |
| [[https:// | [[https:// | ||