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:02 [2025/01/22 10:30] – vdemir | en:modul:m291:learningunits:lu05:loesungen:02 [2025/05/07 16:02] (aktuell) – vdemir | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== LU05.S02 - Hello World - TBD ====== | + | ====== LU05.S02 - VUE Directives warm up ====== |
- | {{ : | + | {{ : |
===== Hints ==== | ===== Hints ==== | ||
- | You can download the file and copy the content into the code area of the W3School on the left hand side of the coding window. | + | * You can download the file and copy the content into the code area of the W3School on the left hand side of the coding window. |
- | You can execute the code by pressing the //run// button | + | |
- | The result will be presented in the right hand side of the window. | + | |
+ | |||
+ | ===== Assignments | ||
+ | ** 1. box-colour change ** | ||
+ | - Test the given script | ||
+ | - Create a new CSS-Class <color # | ||
+ | - Execute your script by clicking the // | ||
+ | - Toggle for testing purpose | ||
+ | |||
+ | ** 2. extended CSS** | ||
+ | - create another css-class // | ||
+ | - redifine the bgColor | ||
+ | - add additional values for color, font-size, font-family, | ||
+ | - Bind this new css-class // | ||
+ | - Execute your script by having it //run//. | ||
+ | |||
+ | ** 3. Save the results ** | ||
+ | - Comment your results as you find fit within the html-comment area | ||
+ | - Save your solution within W3-Save-Area. | ||
+ | * Therefore you might need a W3-School-Account. | ||
+ | * Be advised to name you script accordingly, | ||
+ | |||
+ | ===== Solutions ===== | ||
+ | |||
+ | Your result is supposed to look like displayed in the following image: | ||
+ | |||
+ | {{: | ||
- | {{ : | ||
---- | ---- | ||
[[https:// | [[https:// | ||
+ | |||
| |