Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
en:modul:m291:learningunits:lu05:aufgaben:03 [2025/01/23 10:35] vdemiren:modul:m291:learningunits:lu05:aufgaben:03 [2025/02/07 13:04] (aktuell) vdemir
Zeile 5: Zeile 5:
   * Means of aid: only teaching materials, no websearch, no use of ai.   * Means of aid: only teaching materials, no websearch, no use of ai.
   * Timeframe: 10 Minutes   * Timeframe: 10 Minutes
-  * Expected result: The picture in the example code has changed.   +  * Expected result: The picture in the example code has changed. The src are locally and globally referenced.  
 + 
 +===== Learning objectives ===== 
 +  - Be able to bind global and local ressources with the v-bind directive
  
 ===== Source ===== ===== Source =====
   * [[https://www.w3schools.com/vue/tryit.php?filename=tryvue_v-bind_src |Code-example: v-bind Directive src]]   * [[https://www.w3schools.com/vue/tryit.php?filename=tryvue_v-bind_src |Code-example: v-bind Directive src]]
  
-===== Assignment ======+===== Assignment 1: Global src ======
   - Find a on the internet a picture of your choice and copy the url to it.    - Find a on the internet a picture of your choice and copy the url to it. 
   - Overwrite the code line in the given sourcecode   - Overwrite the code line in the given sourcecode
Zeile 18: Zeile 21:
 ===== Solution ===== ===== Solution =====
 [[en:modul:m291:learningunits:lu05:loesungen:03|Lösung]] [[en:modul:m291:learningunits:lu05:loesungen:03|Lösung]]
 +
 +===== Assignment 2: local src =====
 +  - Download another picture of your choice. 
 +  - Create in your W3 workingspace a directory //media// and save the downloaded picture there
 +  - overwrite the url in the app to display your new local picture
 +  - Execute your script by having it //run//.
 +  - Save your solution accordingly. Therefore you might need a W3-School-Account. 
 +
 +===== Solution =====
 +[[en:modul:m291:learningunits:lu05:loesungen:03_2|Lösung]]
  
 ===== Vocabulary ===== ===== Vocabulary =====
  • en/modul/m291/learningunits/lu05/aufgaben/03.1737624908.txt.gz
  • Zuletzt geändert: 2025/01/23 10:35
  • von vdemir