Google    


Bilbo's JavaScript Examples

JavaScript is one of the things that makes web sites fun. It can do all kinds of neat stuff.

If you are just learning about JavaScript, it's a basic programming language modeled after the C language syntax. It works like this: When a webmaster includes a javascript function in his or her web page, that code gets downloaded to a visitor's browser with the rest of the HTML in that web page. When the browser finishes downloading the code, and whatever calls it, that function is executed (run) by the visitor's computer.

Using JavaScript, a webmaster can make a web page do things that HTML cannot do by itself.

For example, here's a function that causes a string of text to expand and contract like a rubber band might.


Letter WOW

Bilbo Loves JavaScript

Here are a few examples which animate text in various ways. One of the nice features of JavaScript is that while most of these effects can be created using other means, JavaScript can often achieve similar effects with less total size, and fewer requests from the browser to the web server. Each request to the server eats up some of your web sites' alloted bandwidth (usually imposed by your web host, though sometimes ISP's impose a bandwidth limit as well.)

I've also included some links to other good places to learn about JavaScript and web design. If you decide you want to make your own web page, these examples can help you make your site unique... like you! I've even put some links to place where you can set up your own web site, some include free web hosting options. Be sure to let me know if you have any questions or suggestions for helpful stuff! I can't promise that I can answer every email, but I'll do my best. Have fun!

Related Links

More JavaScript Examples

Web Site Hosting and Design Resources