Challenge: Is a Child?

This challenge will test your skills in implementing DOM related functions to find if one element is the child of another.

Problem statement #

In this challenge, you need to implement the function isChild which checks whether one element is the child of another. It should return true if the element is a child and false otherwise. ...