This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
playground:playground [2014/09/23 09:19] – created leuenberger | playground:playground [2019/07/10 13:26] – created fachet | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ~~NOCACHE~~ |
- | | + | ====== Kabellängen |
- | ===== Summary | + | < |
- | This is the summary of the test page. | + | <!-- präsentiert von kostenlose-javascripts.de --> |
- | ===== Motivation | + | <script type=' |
- | The motivation is to test the wiki | + | function berechnen() { |
+ | var bmi; | ||
+ | var weight | ||
+ | var height | ||
+ | if (weight < 10 || weight > 200) { alert(" | ||
+ | if (height < 50 || height > 250) { alert(" | ||
+ | | ||
+ | | ||
+ | if (bmi < 18) output += "Sie haben starkes Untergewicht."; | ||
+ | if (bmi == 18) output += "Sie haben deutliches Untergewicht."; | ||
+ | if (bmi == 19) output += "Sie haben leichtes Untergewicht."; | ||
+ | if (bmi >= 20 && bmi <= 24) output += "Dies liegt im idealen Bereich."; | ||
+ | if (bmi >= 25 && bmi <= 29) output += "Sie haben leichtes bis mässiges Übergewicht."; | ||
+ | if (bmi >= 30 && bmi <= 39) output += "Sie haben deutliches Übergewicht."; | ||
+ | if (bmi >= 40) output += "Sie haben sehr starkes Übergewicht."; | ||
+ | | ||
+ | } | ||
+ | //--> | ||
+ | </ | ||
+ | <form name=" | ||
+ | <input type=" | ||
+ | Größe in cm<br /> | ||
+ | <input type=" | ||
+ | Gewicht in kg<br /> | ||
+ | <input type=" | ||
+ | <br /> | ||
+ | </ | ||
+ | <br /> | ||
+ | </ | ||