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:10 [2025/03/28 08:48] vdemiren:modul:m291:learningunits:lu05:aufgaben:10 [2025/03/28 10:55] (aktuell) – [Vocabulary] vdemir
Zeile 18: Zeile 18:
 As we are now capable to use //v-if// with logical values (true/false), and furthermore check actual values e.g. numbers, this assignment is about hoch to check //string-values// (words). For this we are going to use the function //text.includes()// within the //v-if//. As we are now capable to use //v-if// with logical values (true/false), and furthermore check actual values e.g. numbers, this assignment is about hoch to check //string-values// (words). For this we are going to use the function //text.includes()// within the //v-if//.
  
-  - Execute the script. As you can see the content of the variable text is displayed on the screen. +  - Execute the script. As you can see the content of the variable text is displayed on the screen as //text// contains the search-string //Pizza// with a kapital //P//.
   - Now delete the word //Pizza// from the variable //text// in the script-area. Execute your script again.    - Now delete the word //Pizza// from the variable //text// in the script-area. Execute your script again. 
-  - Note your realisations as a html-comment.+  - Note your realisations as a comment.
   - Save your script acordingly, whether in your W3School workspace or locally in your Webstorm code-editor   - Save your script acordingly, whether in your W3School workspace or locally in your Webstorm code-editor
  
Zeile 27: Zeile 27:
  
   - Add a section //v-else// with a according //img-tag// which shows a different image than a pizza.   - Add a section //v-else// with a according //img-tag// which shows a different image than a pizza.
-  - Note your realisations as a html-comment.+  - Note your realisations as a code-comment.
   - Save your script acordingly, whether in your W3School workspace or locally in your Webstorm code-editor   - Save your script acordingly, whether in your W3School workspace or locally in your Webstorm code-editor
  
Zeile 37: Zeile 37:
 ^ English ^ German ^  ^ English ^ German ^ 
 | afterwards | anschliessend| | afterwards | anschliessend|
-| accordingly | entsprechend+| accordingly | entsprechend |
  
  
  • en/modul/m291/learningunits/lu05/aufgaben/10.1743148118.txt.gz
  • Zuletzt geändert: 2025/03/28 08:48
  • von vdemir