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:10 [2025/03/25 10:51] – vdemir | en:modul:m291:learningunits:lu05:loesungen:10 [2025/03/28 10:50] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 6: | Zeile 6: | ||
* The result will be presented in the right hand side of the window. | * The result will be presented in the right hand side of the window. | ||
- | ===== Assignment | + | ===== Assignment |
+ | As we are now capable to use //v-if// with logical values (true/ | ||
- | As we are now capable to use v-if with logical values (true/ | + | |
- | + | - Now delete the word //Pizza// from the variable | |
- | | + | - Note your realisations as a comment. |
- | - Now delete the word //Pizza// from the variable text. Execute your script again. | + | - Save your script |
- | - Note your realisations as a html-comment. | + | |
- | - Save your script | + | |
===== Assignment 2 ===== | ===== Assignment 2 ===== | ||
Zeile 19: | Zeile 18: | ||
- Add a section //v-else// with a according //img-tag// which shows a different image than a pizza. | - Add a section //v-else// with a according //img-tag// which shows a different image than a pizza. | ||
- | - Note your realisations as a html-comment. | + | - Note your realisations as a code-comment. |
- | - Save your script | + | - Save your script |
- | ===== Solutuons | + | ===== Solution |
{{: | {{: | ||