====== LU05.S06 - v-bind with shorthand ====== ===== Assignment ====== - Open the URL with the exercise, which is given above. - Add to the //style-area// a new class //myClass2// with the //background-color: red// - Add a new //div// which incorporates the second style element. - **Toggle manually** within the //script// area with the values //true// and //false//, which activates and deactivates whether the style are being used or not. That means set the value manuelly to //true// or //false// - Execute your script by having it //run//. - Save your solution accordingly. Therefore you might need a W3-School-Account. ===== Sourcecode of the solution ===== {{ :en:modul:m291:learningunits:lu05:loesungen:lu05.s06.zip | Sourcecode of the solution}} Your solution is supposed to look like the following image: {{:en:modul:m291:learningunits:lu05:loesungen:lu05.s06.png?1200| Results of the code-changing}} ===== Vocabulary ===== ^ English ^ German ^ | ... | ... | ---- [[https://creativecommons.org/licenses/by-nc-sa/4.0/|{{https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png}}]] Volkan Demir