.getElementByTagName not working on chrome


I am trying to use getElementByTagName to call for images in a gallery to show a border upon selection. Chrome keeps spitting back the attached error.Chrome Error

Below I am attaching my html and javascript code.HTML CodeJavaScript

Source: JavaSript – Stack Overflow

November 29, 2021
Category : News
Tags: DOM | getelementsbytagname | html | image | javascript

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.