getElementsByTagName() Method Display List
Samsung
OnePlus
Google Pixel
Try it
Click the button to display the innerHTML of the second li element (Index 2).