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/18 07:43] – angelegt 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/ |
| + | |||
| + | - Execute the script. As you can see the content of the variable text is displayed on the screen as //text// contains the search-string //Pizza// with a kapital //P//. | ||
| + | - Now delete the word //Pizza// from the variable //text// in the script-area. Execute your script again. | ||
| + | - Note your realisations as a comment. | ||
| + | - Save your script acordingly, whether in your W3School workspace or locally in your Webstorm code-editor | ||
| + | |||
| + | ===== Assignment 2 ===== | ||
| + | In the if paragraph there is a image of a pizza displayed as well. | ||
| + | |||
| + | | ||
| + | - Note your realisations as a code-comment. | ||
| + | - Save your script acordingly, whether in your W3School workspace or locally in your Webstorm code-editor | ||
| + | |||
| + | ===== Solution ===== | ||
| + | {{: | ||
| + | |||
| + | {{: | ||
| - | {{: | ||