Javascript: What’s Good and What’s Bad

January 6th, 2011

Javascript is a functional, prototype-based object oriented programming language that has gained widespread popularity in the browser as well as an embedded scripting language in applications. It has its good and bad parts. I think this image acts as a good visual representation of how much of the language is good and how much of it should probably be thrown away.

Web Color Previewer in Javascript

January 3rd, 2011

A friend of mine needed a utility to preview web colors, so he wrote one himself. His solution was written in PHP, so as a quick exercise I decided to do something similar in Javascript. Since the entirety of the exercise is contained in the source of the page, you can see the code by viewing the source. You can also read further and I will give an explanation.


Read the rest of this entry »