Let src=video.children[0].getAttribute('src'); | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Let src=video.children[0].getAttribute('src');

Can someone explain me the concept of children [0] in this statement?

25th Jun 2022, 7:04 PM
Qurat-ul-Ain
Qurat-ul-Ain - avatar
2 Answers
+ 1
Hi do you have the source of that example?
26th Jun 2022, 12:47 AM
Chris Coder
Chris Coder - avatar
0
Not in the form of link
26th Jun 2022, 3:39 AM
Qurat-ul-Ain
Qurat-ul-Ain - avatar