Within a module, where should you place instance-specific styles?

Within the module.css portion of the module

Within the module.html portion of the module

Within the module.js portion of the module

Within the module's meta.json file


Certification program: 👉 HubSpot academy certification exams

Explanation: The correct answer is Within the module.html portion of the module. Placing instance-specific styles within the module.html portion of the module is the most appropriate approach because it allows for a clear separation of concerns and ensures that styles are applied specifically to the elements within that module instance. The module.html file typically contains the markup structure of the module, making it an ideal location to include inline styles or style attributes that are directly related to the presentation or layout of the module’s content. By embedding instance-specific styles directly within the HTML markup, developers can maintain modularity and encapsulation, ensuring that the styling rules are scoped to the module instance and do not affect other instances of the same module or other elements on the page. This approach also facilitates easier maintenance and customization of styles since developers can easily identify and modify the styles associated with each module instance without having to navigate through separate CSS files or files containing JavaScript logic. Additionally, incorporating styles directly into the HTML markup reduces the need for external dependencies or additional HTTP requests, which can contribute to faster page loading times and improved performance. Therefore, placing instance-specific styles within the module.html portion of the module promotes better code organization, modularity, and maintainability, ultimately enhancing the development workflow and user experience.

Passing exams is not a workout. Multiple attempts won’t make you stronger.


  1. All possible certification exam questions
  2. 100% correct and verified answers
  3. Instant download
  4. Detailed explanations written by experts
  5. Free lifetime updates.
  6. All Hubspot category certifications in one package. Save big.




Note: we perform daily scans ensuring the file corresponds exactly the latest exam version and contains all possible questions from the real certification program.

You may also be interested: