-
Archives
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
-
Meta
Category Archives: JavaScript
JavaScript Benchmark: Google Chrome vs Mozilla Firefox vs Internet Explorer 8
I’ve been wanting to try Chrome ever since it was released but I was hesitant because I got used to Firefox’s (awesome) extensions. But since there are a couple of Chrome extensions now I decided to try it out. Before … Continue reading
Posted in JavaScript
1 Comment
JavaScript Code Snippet #4
Computers are playing an increasing role in education. Write a program that will help an elementary-school student learn multiplication. Use Math.random to produce two positive one-digit integers. It should then display a question such as How much is 6 times … Continue reading
Posted in JavaScript
Leave a comment
JavaScript Code Snippet #3
One interesting application of computers is the drawing of graphs and bar charts. Write a script that reads five numbers between 1 and 30 out put XHTML text that displays a line containing the same number of adjacent asterisks. For … Continue reading
Posted in JavaScript
Leave a comment
JavaScript Code Snippet #2
Write a JavaScript program that uses looping to print the following table of values. Output the results in an XHTML table. Use CSS to center the data in each column.
Posted in JavaScript
Leave a comment
JavaScript Code Snippet #1
Write a script that displays the numbers 1 to 4 on the same line, with each pair of adjacent numbers separated by one space.
Posted in JavaScript
Leave a comment