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

I don't see how you go from "giant JS payloads that can render your whole site are bad" to "don't use Javascript to hide a DIV".

Maybe the CSS hack is faster than onclick="document.getElementById('zip-code-modal').style.display = 'none'" but it's quite likely not.



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

Search: