background preloader

Tech & the social Web

Facebook Twitter

Teens & social media

JSON. JavaScript Tutorial. 1. Introduction JavaScript is a simple programming language that can be written directly into HTML documents to allow for increased interactivity with the user. For example, JavaScript can be used to create online calculators or show the current date and time. 2. Embedding JavaScript into your HTML document Browsers that recognize JavaScript also recognize the special <SCRIPT> ...

<HTML> <HEAD> <TITLE>My JavaScript Page</TITLE> <SCRIPT> (JavaScript code goes in here) </SCRIPT> </HEAD> (rest of your HTML document goes here) To make an object (such as an image, a form button, or a hyperlink) on your page do something in response to a user action, you can add an additional attribute to the tag for that object. <A HREF=" onClick="alert('Thanks for visiting the Bridge home page! ')" Try it yourself! You're familiar with the HREF="" attribute that specifies the URL that the link points to, but note the additional onClick="" attribute. 3. 3.1. 3.2. 3.3. Rewire the web. Yahoo Pipes Tutorial | Learn How To Use Yahoo Pipes.