Insert GitHub HTML code to Wordpress post

Hello Community,

I have a big problem an need your advice. I created a Map on Mapbox…com and published the code on

You can find my code here >> Link to my code <<

I tried the code in many different online HTML-Editors and everything was working fine. If i click on the Button (on the map) then the map is moving to the GPS-coordinates out of my Google Sheets document.

But if i put the same code on my Wordpress-Website then it is not working. I can only see the map, but the button is not working and the map doese not move to the GPS-coordinates of my Google sheets.

I want to put the code in a new Wordpress post but i have no idea how it works.
I would really appreciate it if you could give me an advice.

Thank you so much.