Visualize Data with a Bar Chart - passing on local pc but not code pen?

Visualize Data with a Bar Chart - passing on local pc but not code pen?
0

#1

Tell us what’s happening:

I’ve developed the solution in VS Code on my local pc and it passes the test 100%.

I copied the code into codepen.io and the tooltip test 1 & 2 fail with the following message:

TypeError: Failed to execute ‘dispatchEvent’ on ‘EventTarget’: parameter 1 is not of type ‘Event’.

Any ideas?

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/data-visualization/data-visualization-projects/visualize-data-with-a-bar-chart


#2

Update with solution.

A Chrome plugin (not sure which one, yet) is the issue. If I open codepen in Chrome’s incognito mode, it passes.