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/02/07 12:50] – vdemir | en:modul:m291:learningunits:lu05:loesungen:02 [2025/05/07 16:02] (aktuell) – vdemir | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== LU05.S02 - VUE Directives warm up ====== | ====== LU05.S02 - VUE Directives warm up ====== | ||
| - | {{ : | + | |
| + | {{ : | ||
| ===== Hints ==== | ===== Hints ==== | ||
| Zeile 6: | Zeile 7: | ||
| * You can execute the code by pressing the //run// button | * You can execute the code by pressing the //run// button | ||
| * 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. | ||
| + | |||
| + | ===== 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: | Your result is supposed to look like displayed in the following image: | ||
| - | {{: | + | {{: |
| ---- | ---- | ||
| [[https:// | [[https:// | ||
| + | |||
| | | ||