DEV Community

Discussion on: A basis for a coding interview using "FizzBuzz" only⁉- 8 challenges for beginners AND Pros [with a twist for Pros! 😱]

Collapse
 
afif profile image
Temani Afif

My CSS only solution. Work from 1 to infinity (chrome and edge only)

codepen.io/t_afif/pen/dyWpree

Will probably optimize later to cover more cases.

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

I knew I could count on you to use CSS to solve JS problems!

Looking at it it is more difficult than I thought to do with CSS.

I thought a :before and :after combo was going to be the trick but didn't actually think about how to fix positioning like that!

Really interesting solution! ❤