Magento 2 Custom Module File Placement Quiz
10 Questions
3 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

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 (C)</p> Signup and view all the answers

Where should customizations specific to a custom theme be placed?

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

Where should customizations specific to a custom theme be placed?

<p>app/design/frontend (D)</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 (C)</p> Signup and view all the answers

What should be placed in the app/code folder?

<p>Custom modules and extensions (A)</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 (C)</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 (C)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser