Hacker News new | ask | show | jobs
by adzicg 4010 days ago
we use double quotes for HTML and single quotes for JS. that makes it easy to embed HTML snippets in Js code and JS snippets in HTML attribute values without escaping.