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:08 [2025/03/18 07:35] – gelöscht vdemir | en:modul:m291:learningunits:lu05:aufgaben:08 [2025/03/18 07:46] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== LU05.A08 - v-if with numbers instead of bool ====== | ||
+ | |||
+ | ===== Prerequisites | ||
+ | * Work type: Individual | ||
+ | * Means of aid: only teaching materials, no websearch, no use of ai. | ||
+ | * Timeframe: 10 Minutes | ||
+ | * Expected result: A Vue script that displays HTML elements based on input values. | ||
+ | |||
+ | ===== Learning objectives ===== | ||
+ | - Explaining the The directive //v-if// in your own word. | ||
+ | - Being able to apply logical operators within a v-if directive. | ||
+ | |||
+ | |||
+ | ===== Source ===== | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Assignment ====== | ||
+ | The first assignment checked by using v-if whether a certain variable was checked or not (true/ | ||
+ | |||
+ | - Change the value of the variable // | ||
+ | - Note your realisations as a html-comment. | ||
+ | - Change the content of the variable // | ||
+ | - What happens, if the value // | ||
+ | - Note your realisations as a html-comment. | ||
+ | - Save your script acoordingly, | ||
+ | |||
+ | |||
+ | ===== Solution ===== | ||
+ | [[en: | ||
+ | |||
+ | |||
+ | ===== Vocabulary ===== | ||
+ | ^ English ^ German ^ | ||
+ | | ... | ... | | ||
+ | |||
+ | |||
+ | ---- | ||
+ | [[https:// | ||