
Quiz styles in Magento 2
Authored by Dung Doan
Other
Professional Development
Used 36+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to define a mixin in LESS?
.my-mixin(@arguments) {
...
}
@my-mixin($arguments) {
...
}
=my-mixin(@arguments) {
...
}
@mixin my-mixin($arguments) {
...
}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the special variable @arguments do in a LESS mixin?
Takes the arguments that were passed into the mixin an renders them in that order
Contains default arguments that are passed into the mixin an renders them in that order.
Defines additional arguments to be used in the mixin.
Contains default arguments that are passed to all mixins by the framework
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the main css files included in the default_head_blocks.xml file in a Magento theme? Select all that apply.
styles-m.css
styles-l.css
print.css
screen.css
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where should overrides of existing LESS variables be added?
<theme_dir>/web/css/source/_layout.less
<theme_dir>/web/css/source/_variables.less
<theme_dir>/web/css/source/lib/_variables.less
<theme_dir>/web/css/source/_theme.less
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to create symlinks to LESS files for the Magento/luma theme in the fr_FR locale?
bin/magento setup:static-content:deploy -f
bin/magento setup:static-content:deploy --area frontend --theme Magento/luma
bin/magento dev:source-theme:deploy --theme Magento/luma
bin/magento dev:source-theme:deploy --locale fr_FR --theme Magento/luma
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between client-side and server-side compilation in Magento 2?
Client-side compilation is faster than server-side compilation
Server-side compilation is faster than client-side compilation
Client-side compilation is performed in the browser, while server-side compilation is performed on the server
Server-side compilation is performed in the browser, while client-side compilation is performed on the server
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you create an override for the core Magento UI library dropdowns in your theme?
theme_dir>/web/css/source/_dropdowns.less
<theme_dir>/Magento_Ui/web/css/source/lib/_dropdowns.less
<theme_dir>/lib/web/css/source/_dropdowns.less
<theme_dir>/web/css/source/lib/_dropdowns.less
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?