Thanks for feedback. I couldn't remember how to do it without using set attribute . My class I'm in tells me set attribute is ok though to use .
Also, I forgot to use doctype because when I test stuff I just forget to do that stuff. Otherwise what do u think?