Skip to content

Frontend Standards

HTML, CSS, and JavaScript coding standards.


HTML

  • Use semantic HTML5 elements
  • Include ARIA attributes for accessibility
  • Validate with W3C validator

CSS/SCSS

  • Follow BEM naming convention
  • Mobile-first responsive design
  • Use CSS variables for theming

JavaScript

  • Use strict mode
  • Prefer const/let over var
  • Document complex functions