When i Use getelementbyID it is working but when I use the classname then it is not working. My instructor prefers using a class instead of ID. Sorry for my bad english.