Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

67 :nth-child(3n){list-style:"Fizz"}:nth-child(5n):after{content:"Buzz




thank you sir! i can improve the html op css was 152, we have the whole page at 144

data:text/html,<ol id=o><script>o.innerHTML='<li>'.repeat(100)</script><style>:nth-child(3n){list-style:"Fizz"}:nth-child(5n):after{content:"Buzz


Your code is showing the numbers 5, 10, 20. that's not correct, is it?

Yours prints 1. 2. Fizz 4. 5. Buzz Fizz 7.

But it should be 1. 2. Fizz 4. Buzz Fizz 7.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: