code: def getFirstChildElementByTagName(self, tagName):
      
      for child in self.childNodes:
          if isinstance(child, Element):
              if child.tagName == tagName:
                  return child
      return None
docs: Return the first element of type tagName if found, else None