exam questions

Exam AD0-E717 All Questions

View all questions & answers for the AD0-E717 exam

Exam AD0-E717 topic 1 question 2 discussion

Actual exam question from Adobe's AD0-E717
Question #: 2
Topic #: 1
[All AD0-E717 Questions]

A new custom module is built for the existing Adobe Commerce store. A merchant has requested a few frontend updates. For this, a developer has to implement a custom style.
What is the location of the less file that will be included by default?

  • A. view/{area}/web/css/style.less
  • B. view/{area}/web/css/source/main.less
  • C. view/{area}/web/css/source/_module.less
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
crino
1 month, 2 weeks ago
Selected Answer: C
The correct answer is: C. view/{area}/web/css/source/_module.less Explanation: When creating a custom module in Adobe Commerce and implementing custom styles, the LESS files should be placed in the view/{area}/web/css/source/ directory. The _module.less file is a convention used for defining module-specific styles in the source directory before they are compiled. view/{area}/web/css/source/_module.less is the location where module-specific styles can be placed. The underscore (_) at the beginning of the file indicates that it's a partial file which will be included in the final compiled CSS. To summarize: view/{area}/web/css/source/_module.less is the default location for LESS files in custom modules to implement custom frontend styles.
upvoted 1 times
...
crino
1 month, 2 weeks ago
Selected Answer: B
The correct location of the LESS file that will be included by default in a custom module for frontend styling in Adobe Commerce is: B. view/{area}/web/css/source/main.less Explanation: In Adobe Commerce, when implementing custom styles for the frontend, the LESS file is typically placed under the view/{area}/web/css/source/ directory, and the file name is usually main.less. This is where the custom styles are defined for the module. view/{area}/web/css/source/main.less: This is the correct location and file name for the main LESS file that is compiled into the final CSS. view/{area}/web/css/style.less: This location and file name are not typically used in the standard Magento module structure. view/{area}/web/css/source/_module.less: This location could be used for specific module-level styles, but main.less is the more common entry point for compiling and including custom styles. In summary, for a custom module in Adobe Commerce, main.less is usually the file where you define your styles, located in view/{area}/web/css/source/.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago