Problem with odd and even

Problem with odd and even
0.0 0

#1

What am i doing wrong here? Its not working as a i excepted. 1, 3 and 5 should be green and 2 and 4 should be red. Is something wrong with codepen?


#2

Your third closing </div> has a typo (it’s spelled dvi)


#3

Damn it xD thank you…