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

Absolutely this! Instead of awkwardly building DOM in JavaScript just build it in HTML, manipulate in JavaScript and style in CSS. This separation still works amazingly even if popular frameworks like React are blurring the lines.


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

Search: