+ 1

I create one group with two items, and i access one p inside the div. I want to know if it is normal to access p inside div. Tha

Access p inside div with event listener. https://code.sololearn.com/W7CO7VI7Bohe/?ref=app

16th Sep 2021, 7:34 PM
Malick Diagne
Malick Diagne - avatar
1 ответ
+ 1
You can access p from anywhere you like. If the code is doing what you want to do it really doesn't matter how you are doing it as long as there's no potential bugs.
1st Oct 2021, 7:11 AM
Asanda Ndimande
Asanda Ndimande - avatar