Frontend Fundamentals: HTTP Methods, CSS Styling, and Accessibility
Context
You are preparing for a frontend engineering interview question that spans web fundamentals: HTTP semantics, CSS organization, and accessibility best practices.
Tasks
-
HTTP methods
-
Explain the differences among GET, POST, and PUT.
-
Include typical use cases, idempotency, and safety.
-
CSS styling approaches
-
Describe inline styles, classes, BEM, and CSS Modules.
-
Explain when to use each approach.
-
Web accessibility
-
Outline essential practices: semantic HTML, ARIA roles, focus management, keyboard navigation, color contrast.
-
Describe how you would test these in practice.