Before I ask my question, I would just like to say that I know that similar questions have been asked here before, but none of them can give me an answer regarding my specific situation.
I answered this relatively simple html/javascript question last night after seeing that the provided answer didn't work(until it was later edited.. and then deleted).
After posting I received a few down-votes in a relatively short amount of time, which I don't mind at all, but I would at least like a reason - as the whole reason I joined SO is to learn and improve.
So my question to you is: Are the down-votes on my answer deserved, and if they are - what can I do to make my future answers more useful?