d3js code working in online editor but not in html file

[ad_1]

I hav html CSS JS code for some calculations and contains JavaScript link to d3js org /d3 v4
In the WordPress editor the code work properly but when I display the page or publish it the code doesn’t work
Can anyone help me with this issue please

[ad_2]
2 Comments
  1. The first step in debugging would probably be to open your browsers javascript console and look for errors. The error messages should hopefully give you a sense of what you need to fix.

  2. Sounds like the theme is breaking the code. Potential conflict or wrong jquery version.

    Or you have a plugin that minifies JavaScript code which causes it to break.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer