Home Page and Navigation #2
**Bug Description:**
On the home page the following console error was generated:
*Cannot read properties of undefined (reading 'getElementsByClassName')*
The error occurs because the drop down menu is purposely hidden on the home page.
**Actions to Resolve:**
Added logic to check pathname and only complete code when not on the home page.
Epic: