Version compl�te: jsB@nk » Utilitaire » Formation Cardiofréquencemètres
URL: https://www.javascriptbank.com/training-heart-rate.html
Cet JavaScript vous aidera à calculer votre fréquence cardiaque d'entraînement. Ce chiffre est utilisé pour déterminer la zone cible pour la formation aérobie.
Version compl�te: jsB@nk » Utilitaire » Formation Cardiofréquencemètres
URL: https://www.javascriptbank.com/training-heart-rate.html
<script>// Created by: Larry Wiley :: http://schools.nsd.org/%7Elwiley/function alertwiththr() { var rhr = prompt("What is your resting heart rate?", "") var age = prompt("What is your age?", "") var tot = 220 - +rhr+ - age var lowfinal = tot *.7 + +rhr var hifinal = tot *.9 + +rhr alert("Your target heart rate is between" +" "+lowfinal+" "+ "and"+" " +hifinal)}</script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<form> <input type="button"Style="font: 12pt Lithos Regular;background:blue;color:white" value="Calculate Your Training Heart Rate" onclick="alertwiththr()"></form><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->