-
Validation is near
I validated my first page last night and it was epic.
I thought to myself there can’t be many errors, but boy was I wrong.
34 errors.
It took me almost an hour to comb through make changes and upload each page hoping I wouldn’t make more. I did.
Some things I learnt in my travels:
- the <label> tag doesn’t exist in XHTML
- names on images - they’re not in. Alts are.
- there is something wrong with this code but I haven’t figured it out yet:
- function swap(){
if (document.images){
for (var x=0;
x<swap.arguments.length;
x+=2) {
document[swap.arguments[x]].src = eval(swap.arguments[x+1] + “.src”); {I’ll post when I do}
For my troubles I received this gold star:
That is only 1 page down though. 4 to go!
Posted on May 25, 2009
blog comments powered by Disqus