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

Javascript on the frontend is not for "systems" logic, it's for small changes to the layout without reloading the page. This myth that HTML, CSS and JS are all separate "systems" that need to be isolated has to die.


JavaScript on the frontend is not intended for "small changes to the layout without reloading the page", it's intended for changes to content. CSS is one of the tools intended to manage layout and appearance.

Is it possible to use one for the other? Of course.




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

Search: