Frontend Guidelines is a concise collection of recommended practices for writing maintainable HTML, CSS, and JavaScript. The HTML section emphasizes semantic markup, brevity, accessibility, correct language declarations, UTF-8 encoding, and avoiding unnecessary rendering delays. CSS guidance covers consistent box models, document flow, modern layout systems, selector simplicity, specificity, naming, colors, and maintainable overrides. JavaScript recommendations prioritize readability and correctness over premature micro-optimization. The guide encourages pure functions, native browser APIs, careful coercion, and clear modern syntax. Every topic is illustrated with contrasting bad and good code examples. The repository serves as an opinionated style reference rather than an automated linter or framework.
Features
- Semantic and accessible HTML guidance
- Concise modern markup practices
- CSS layout, selector, and specificity recommendations
- JavaScript readability and correctness principles
- Pure-function and native-API recommendations
- Side-by-side good and bad code examples