Tuesday, May 29, 2007

My blogger experiences

The reason that I love blogger.com
I used blogger.com since it was not purchased by Google, although I never seriously developed my blog here. Delightfully, I found that it had changed to the direction that I love, which are efficient interfaces and complete help documents for beginners as well as advanced controls for technique geeks.
The Javascript problems (new)
I use HTML/Javascript element to add a photo (from my picasa web) with link. It used to work well. But today I discovered that blogger.com try to format my code according to some rules. But the algorithm is stupid such that it turns my code to scratches. If I define string like this:
var str1='<a>'
var str2='<img src="my link"'
var str3='/></a>'
document.write(str1+str2+str3)
It cannot work. Once I change str2 to
var str2='<img src="my link"/>'
Then it works!

Web development suggestions and tutorials

  • If you want to be a professional web developer or just want to make a fancy web site, you'd better to have some knowledge about the HTML language, which is the basis for all other web development skills, and web hosting issues. W3schools is a place to find all good tutorials you want. The reason that I love W3schools:
    1. Detailed, complete and very nicely organized tutorials (HTML, XHTML, CSS, scripting languages, web hosting knowledge ...).
    2. They tell good stories. You will know the difference between old standards (HTML 3.0 and before) and why we should go for the new standards.
    3. They provide good guidance with quiz (free) and exams (e.g. $75 for HTML certificate).
  • To be a good coder, you should make your web coding clean and well-organized. Which is also critical for resource-limited web client such as cell phones and PDAs. You can validate your web coding using Markup validation Service provided by W3C.