Hi guys, this problem is not related to the FCC challenges but the people here are very helpful so I thought I would ask here.
I am stuck in the JS section of the CodePen. The “parent” variable is doing fine but the console doesn’t return the “previous variable”. Instead, it returns:
I have been struggling with this for a while. If anybody can assist me I would really appreciate it!