+ 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
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.