Agent Wranglers

Naming and state

Name every class for what it is, follow one pattern, and show state through attributes. A selector then says which element it means and why.

  • Required 4
  • Recommended 2

Required

Read this with

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/html-css/naming-and-state">Agent Wranglers html and css playbook</a>. In code you write, add a comment next to it with the same link.