Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
en:modul:m291:learningunits:lu05:loesungen:09 [2025/01/27 13:57] – angelegt vdemiren:modul:m291:learningunits:lu05:loesungen:09 [2025/03/28 08:27] (aktuell) vdemir
Zeile 1: Zeile 1:
-====== LU05.S09 - v-if with logical operators ======+====== LU05.S09 - v-else-if and v-else ======
  
 ===== Sourcecode of the solution ===== ===== Sourcecode of the solution =====
  
-  * {{ :en:modul:m291:learningunits:lu05:loesungen:04_v-if_ueb2.zip | Sourcecode of the solution}}+{{:en:modul:m291:learningunits:lu05:loesungen:m291_lu05_s09.zip | Sourcecode of the solution}}
  
 ===== Assignment ====== ===== Assignment ======
-In the script area of the W3-School example (link above) you will find a variable //typewritersInStock// with the value //true//In the html area of the same script there will be decided, what is supposed to happen in which case. In the //true-case// there are typewriters on stock, and in the else-case (v-else) they are not +  - Change the content of the variable //typewriter// to a value between 0 und 5Run afterwords the script.    
- +  - Introduce a additional paragraph with //plenty// for a stock more than 10
-  - Change the value of the variable //typewritersInStock// to //false// and run the script.  +  - Note your realisations as a html-comment.
-  - Note your realisations as a html-comment?+
   - Save your script acoordingly, whether in your W3School workspace or on you local computer in your code-editor Webstorm.   - Save your script acoordingly, whether in your W3School workspace or on you local computer in your code-editor Webstorm.
  
-{{:en:modul:m291:learningunits:lu05:loesungen:lu05.s09.png?1000|Codesolution}} +{{:en:modul:m291:learningunits:lu05:loesungen:lu05.s09.png|Codesolution}}
  
  
  • en/modul/m291/learningunits/lu05/loesungen/09.1737982653.txt.gz
  • Zuletzt geändert: 2025/01/27 13:57
  • von vdemir