0

why class do not working on 2nd question

links of code - COPY THESE URL https://code.sololearn.com/WZY278ZFYMke

1st Jun 2022, 11:20 AM
Praween Gupta
Praween Gupta - avatar
1 Answer
+ 2
Because you have to use querySelecterAll() then perform actions according to current element querySelecterAll returns all the node element of the same class querySelecter just returns first node element item. That's why 2nd option is not working
1st Jun 2022, 3:46 PM
AÍąJ
AÍąJ - avatar