Dog Age Calculator – Check dog years to human years

    Chow chow dog

    Dog age calculator

    If your dog were a human, it would be:

    function calculateDogAge() { var myAge= document.getElementById('years').value; var dogAge = ((16 * Math.log(myAge)) + 31).toFixed(1); document.getElementById('wynik').innerHTML= dogAge ; document.getElementById('defaultdis').innerHTML=' years old!'; }

    Leave a Reply

    Your email address will not be published. Required fields are marked *