RWD course Final Project Browser JS Error

Hi there,
I’m Lalit and am doing the final projects in the RWD course. I had developed the project on my local code editor. It worked fine there, however when I copy pasted the code (with the required modifications) in the test console, I am getting a javascript error in the browser(screenshot attached below). Except for the navbar in my project website, everything else seems to work fine and the nav-bar test is failing. Could you please help me out with this?

error

You should be copying your HTML into the the index.html editor and your CSS into the styles.css editor. Is this what you are doing?