re: Fizz Buzz in Every Language VIEW POST

FULL DISCUSSION
 

CSS

ol {
   list-style-type: inside;
}

li:nth-child(3n), li:nth-child(5n) {
   list-style-type: none;
}

li:nth-child(3n):before {
   content: 'Fizz';
}

li:nth-child(5n):after {
   content: 'Buzz';
}
 
code of conduct - report abuse