nerdexam
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)
  • A
    5% (2)
  • B
    3% (1)
  • C
    79% (30)
  • D
    13% (5)

Community Discussion

No community discussion yet for this question.

Full M70-301 Practice