Magento
M70-301 · Question #27
Using prototype.js, which selector would be used to target a group of list items with the class of item?
The correct answer is C. $$(`li.item'). See the full explanation below for the reasoning.
Question
Using prototype.js, which selector would be used to target a group of list items with the class of item?
Options
- A$(
ul').children(li.item') - B$(`item')
- C$$(`li.item')
- D$$(`ul > li#item')
How the community answered
(38 responses)- A5% (2)
- B3% (1)
- C79% (30)
- D13% (5)
Community Discussion
No community discussion yet for this question.