Java Script

  • Why Study JavaScript?:-
JavaScript is one of the 3 languages all web developers must learn:
   1. HTML to define the content of web pages
   2. CSS to specify the layout of web pages
   3. JavaScript to program the behavior of web pages

This tutorial is about JavaScript, and how JavaScript works with HTML and CSS.

  • Learning Speed:-
In this tutorial, the learning speed is your choice.
Everything is up to you.
If you are struggling, take a break, or reread the material.
Always make sure you understand the "Try-it-Yourself" examples and exercises.


  • JavaScript Introduction:-

JavaScript is the most popular programming language in the world.
This page contains some examples of what JavaScript can do.


  • JavaScript Can Change HTML Content:-

      One of many HTML methods is getElementById().
    This example uses the method to "find" an HTML element (with id="demo"), and       changes the element content (innerHTML) to "Hello JavaScript":







JavaScript Can Change Images

Click the light bulb to turn on/off the light.

Comments

Popular posts from this blog