J=0 correspronds to S and L anti-aligning because J=L+S so L=-S and thus m_s = -m_l = -1, 0, 1
J=1 corresponds to S and L being perpendicular making the projection of one of the other on the z axis 0 leaving the remaining factor
J=2 corresponds to S and L aligning for the same reason mentioned above