Why can't I get class looping to work as well as getElementById?

Printable View