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 | Sololearn: Learn to code for FREE!

+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

9/16/2021 7:34:17 PM

Malick Diagne

1 Answer

New Answer

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