I have tried to get the information I needed from a JSON hosted inside the same folder of the landing page I am building but I am getting the CORS error from hubspot, that's why I tried this other way.
BTW I am not a professional coder or IT enginner all of this I have learned by myself, so excuse me if the issue is bit obvius 😅