Magento 2 Custom Module File Placement Quiz
10 Questions
3 Views

Magento 2 Custom Module File Placement Quiz

Created by
@StrongerPolarBear

Podcast Beta

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Where should the _module.less file, which is a starting point for module-related styles, be placed?

  • app/code (correct)
  • Neither, it should be placed in a separate folder
  • app/design
  • app/code or app/design
  • What types of files should be placed in a module's folder according to the provided information?

  • General theme variables
  • Html, phtml, js, and layout files (correct)
  • Css and js files
  • Theme-specific files
  • Where should general theme variables and common styles be placed?

  • app/code
  • In a separate folder
  • app/design (correct)
  • It depends on the type of theme
  • What is the rule of thumb for deciding whether to place files in the module's folder or the theme's folder?

    <p>Anything theme-independent should be placed in the module's folder</p> Signup and view all the answers

    Where should customizations specific to a custom theme be placed?

    <p>app/design</p> Signup and view all the answers

    Where should customizations specific to a custom theme be placed?

    <p>app/design/frontend</p> Signup and view all the answers

    Identify the purpose of styles-m.less, styles-l.less, print.less?

    <p>styles-m.less is for medium screen styles, styles-l.less is for large screen styles, and print.less is for print styles</p> Signup and view all the answers

    What should be placed in the app/code folder?

    <p>Custom modules and extensions</p> Signup and view all the answers

    Where should the _module.less file, which is a starting point for module-related styles, be placed?

    <p>app/design/frontend</p> Signup and view all the answers

    What is the purpose of layout XML instructions in Adobe Commerce?

    <p>To define the structure and appearance of pages</p> Signup and view all the answers

    Use Quizgecko on...
    Browser
    Browser