JavaScript is a series of text instructions to the browser. Technically it is scripting and not programming but you may see both words used. JavaScript can be used to add interactivity to a Web page so that the user can change it after it has loaded. XHTML creates the page, CSS formats it and then JavaScript changes the content or the way the content looks.
These pages assume you know the basics of programming, the basics of HTML and the basics of CSS so if you do not you should go to those tutorials first.
Hover over the links for a brief description.
- Your first Javascript page
- Your first Javascript event
- Your first Javascript function
- Your first Javascript object
- Using Javascript to change in-line styles
- Javascript and stylesheets
- Javascript getElementById
- Obtaining values with Javascript
- Javascript variables
- Passing values to Javascript functions
- Javascript events
- Attributes of Javascript events
- How to trigger Javascript attached to links
- Javascript IF statements
- Javascript IF conditions
- Javascript innerHTML and innerText
- Javascript browser compatibility
- Changing element attributes
- Adding HTML elements with Javascript
- Some finishing thoughts on Javascript
