Canvas code don't works
-
i’m building a site and i wanted to add some javascripts from codepen and i could figured the way it works in wp so i could show just one javascript:
https://10agencia.com/2370-2/the one that is been showed is writen like this:
<link rel=”stylesheet” href=”https://10agencia.com/wp-content/themes/themeforest-7758048-betheme-premium-wordpress-theme-93/betheme/js/cuztomjs/css/style.css”>
<canvas id=”main_canvas”></canvas>
<script src=’https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.5/dat.gui.min.js’></script>and woooala it works
but… the problem is that i don’t why the other html code is not been showed in wp
i want to put these javascript: https://codepen.io/harydas/pen/Maewgq
and i did the same codex process than before but i don’t know why wordpress is not showing it:<link rel=”stylesheet” href=”https://10agencia.com/wp-content/themes/themeforest-7758048-betheme-premium-wordpress-theme-93/betheme/js/constelattions/reset.css”>
<canvas></canvas>
<script src=”https://10agencia.com/wp-content/themes/themeforest-7758048-betheme-premium-wordpress-theme-93/betheme/js/constelattions/prefixfree.min.js”></script>
<script src=’https://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js’></script>
<script src=’https://cdnjs.cloudflare.com/ajax/libs/stats.js/r11/Stats.js’></script>
- The topic ‘Canvas code don't works’ is closed to new replies.