New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Please help
I want to know how texts in the paragraphs can be displayed when called by the array. https://code.sololearn.com/WBvNNMP1tWt4/?ref=app
2 Answers
+ 2
This is a collection. For examle it can be selected with:
var elems = document.write(ele[num - 1].textContent);
+ 1
Thank you very much