Monday, August 3, 2009

learning javascript

My goal here is to get working code for a javascript actuated web page.

To begin, I don't need it to do much. The point is to have a page that uses javascript to do something. Then I can add features gradually.

Here are the specs:

When linked to, the page pops up in a 4x6 inch window. Somewhere in that area ... lower left, maybe ... is a group of four miniature sliders that control %rgb and density of the background color. Oops, too complicated. It's a form, and users can type in the values, comma delimited, and press the enter button. Even better, if the values get changed, the color changes. No enter button. We can just type direction in the body.

Remember, the idea is to teach coding. The page comes with a set of explanations of the code, and, of course, the code itself. We can run ads, too.

It's also possible this interface controlling background color can be patented. It's pretty questionable whether that's possible, or, for that matter, desirable, but it's something to look into, anyway.