Welcome to the Treehouse Community
Looking to learn something new?
Hardip Singh Nagi4,758 Points
prev targets previous element where? In js page, in css or index??
prev targets previous element where? In js page, in css or index?? I see creation of button before prev.show. So how should I understand what it is actually targeting? He very clearly explained in example of using prev where we use prev and what it targets(line 3). But in actual implementation there is no explanation what statement or sibling is prev targeting. A bit of hovering the mouse over targeting statement would have helped at least if not more.