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
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
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