JavaScript Tutorial #3 – Input & Output




This is a JavaScript Tutorial covering how to get data in and out of a webpage using prompt, innerHTML and Forms. All Links and Slides will be in the description. Subscribe for more cool stuff!

Slides & files – http://www.mediafire.com/view/398l4he84envkca/Input_%26_Output.pptx.pptx

Steam Group: http://steamcommunity.com/groups/DrapsTV

Twitter: https://twitter.com/DrapsTV

Facebook: https://www.facebook.com/DrapsTV/

If you like what you see be sure to subscribe and thumbs up!

Original source


11 responses to “JavaScript Tutorial #3 – Input & Output”

  1. Oh! I think i found javascript easter egg
    i wrote (WARNING THIS IS MY DESIGN) :
    window.onload = function() {
    var sub = parseInt(document.getElementById('subject').value);
    var add = parseInt(document.getElementById('add').value);
    var btn = document.getElementById('btn');

    btn.onclick = function() {
    var sum = sub + add;

    document.getElementById('sum').innerHTML = string(sum);
    }
    }

    It say NaN ._.

  2. Awesome! I was new to JavaScript code but i learnt alot in this channel.
    But i need to find a way to code ,that if i input "A" in the text box to ouput "B".(same for rest of the alphabet). Since im a newbie to JavaScript can anyone help with it please?

Leave a Reply