Javascript Tutorial 2: Variables




A tutorial on the usage of javascript variables, arithmetic operations on variables, their need, etc.Website: http://codedamn.com
Facebook: http://facebook.com/codedammmn
Twitter: http://twitter.com/codedammer

Original source


6 responses to “Javascript Tutorial 2: Variables”

  1. Really disapointed with your pace of teaching.In HTML ,CSS u described each concepts but in this video u didnt explain definition,purpose of function,quickly jumped to local,global variables..Way too fast.

  2. Mine does not print out in the browser. Thank you.

     <script>
    var num1 = 10;
    var num2 = 45;
    var sum = num1 + num2;
    var product = num1 * num2;
    var divide = num1 / num2;
    var mod = num1 % num2;
        document.write(sum+' '+product+' '+divide+' '+modulus);
    </script>

Leave a Reply