New website!

I figured it was about time I improved my Javascript, CSS and XHTML skills.

For me, there’s no better way than to learn while doing. I don’t want to read a book on Javascript. I want to start writing my website, get stuck, or think ‘how do I do this’ and then figure it out (mostly using Google and tutorial websites.) Rather than learn 100 things (10 of which I will use, 90 of which I will forget), I’d rather learn as I go.
So, from now on, my blog will be located at http://blog.antonywilliams.com

I will now have a portal (which, among other things, links to this blog) now located at www.antonywilliams.com. Check it out.

It may seem like a simple webpage, but It did take a little while due to the learning curve.

I’m using JQuery and lavaLamp (among other things).

lavaLamp is the cool Javascript code that makes my top menu float around and follow the mouse like a balloon.

Mostly, I just wanted an excuse to learn and write XHTML. I was shocked at just how much HTML has changed since I last used it. As I started to learn, I realized that (since HTML has changed so much) you can tell the browser which version of HTML you are using. Also, you can tell it that you’re writing in a mixture (Transitional, which presumably means you’re gradually trying to switch over to the new stuff) of old/new, old, or new.

Since I was starting from scratch, I figured I’d go straight with XHTML using this at the top of my index.html

This tells the web browser that I’m only XHTML, with no old stuff.

While coding, I came across a cool way to check if you’re writing valid code. To test, just go to this site: http://validator.w3.org/

You can put your URL in there, and it will tell you if you’re correctly following the specs you claim to follow (in my case, I’m claiming strict compliance to XHTML 1.0)

Another pain in the neck. XHTML has no compliant way to force a link to open in a new tab. How annoying. Luckily, you can get around this (and still maintain compliance) with a little javascript.

Interesting huh?

Let me know what you think of my new site