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

Although not always, you'll end up mixing CSS with JavaScript. In this case when naming CSS with dashes it's easier to differentiate from my JavaScript names, i.e. $("#myDiv") vs $("#my-div").


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

Search: