Frontend OOP Quiz 1. What is the primary role of HTML in frontend development? a) Styling elements b) Defining structure and semantics c) Handling user interactions d) Making code object-oriented 2. Which OOP principle ensures each Card object keeps its data safe and consistent? a) Inheritance b) Abstraction c) Encapsulation d) Polymorphism 3. In Solitaire, different piles (Foundation, Tableau) overriding canAccept() demonstrates which concept? a) Encapsulation b) Polymorphism c) Abstraction d) Responsive Design 4. Which problem-solving strategy means breaking a big challenge (like building Solitaire) into smaller tasks? a) Decomposition b) Pattern Recognition c) Debugging d) Algorithmic Thinking 5. Why is visual feedback (like glowing drop zones) important in frontend development? a) It looks cooler b) It confirms user actions immediately c) It makes JavaScript faster d) It reduces code duplication Submit Quiz