I was wondering if someone could help me out and create a function that would return a boolean value of whether two elements (that are passed as parameters to the function) are touching each other based on their positions. I've tried many variations but cannot get it right. Any help is greatly appreciated.
Happy coding!
Happy coding!

Comment