Because his article is about bringing back CSS to its glory (more or less :)) and at the same time is happy with his HTML being generated by JS. Instead of having a pure semantic HTML section.
I am not saying that is good or bad (I use Vue for instance), just a bit contradictory.