Update challenge2.html

changed for to if and endif