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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow Frontend Guidelines

Frontend Guidelines Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Frontend Guidelines!

Additional Project Details

Registered

2026-09-11