For years the only way to do zebra striped tables was that way.
Also, I never said...
1. We were taking about front-end.
2. We reject solely based on it. I just used it as an example of a type of question.
In fact we've hired candidates who didn't know what modulo was because when they encountered it they were able to reason through it.
Furthermore... this candidate failed far easier questions that that. I used FizzBuzz as the "hardest" question.
Does not knowing Fizz Buzz mean you won't be productive? No. But it is probably a good indicator you aren't commanding of $150k a year this guy got hired for.