Wednesday, February 9, 2011

Vocabulary for beginnings. The pet rock...

function-a reusable piece of javascript code that performs a common task.

onclick-to respond to a mouse click, just set some JavaScript code to the onclick attribute of an html element.

onload-lets you know that a web page has finished loading.

alert-can be used to display text to the user.

These are made clear in Lets get started. The pet rock.

No comments:

Post a Comment