Dies ist eine alte Version des Dokuments!
LU05.A03 - v-bind with style
Prerequisites
- Work type: Individual
- Means of aid: only teaching materials, no websearch, no use of ai.
- Timeframe: 15 Minutes
- Expected result: The picture in the example code has changed.
Learning objectives
- Be able to bind global and local ressources with the v-bind directive
- Understanding the interaction of the SFC concept (single file component)
Source
Assignment
- Open the URL with the exercise, which is given above.
- Change the type size to 50px
- Create a new css-class, the attributes are up to you.
- Create within the template-area a second DIV and bin this to the new style-class to both text-areas are displayed.
- Overwrite the code line in the given sourcecode
- Execute your script by having it run.
- Save your solution accordingly. Therefore you might need a W3-School-Account.