+ 6
Emmanuel🌀 hi, The Document methodgetElementById() returns an Element object representing the element whose id property matches the specified string. If you need to get access to an element which doesn't have an ID, you can use Document.querySelector() to find the element using any selector. Have look over some more information about this in the link below https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById If you have any query remains ping me I will explain with other ways Have these 🍎 🍎 🍎 🍎 🍎
29th May 2019, 1:05 PM
DishaAhuja
DishaAhuja - avatar