So for bodymovin.js you should link to that in your before /body
code area, and you would basically apply some data attributes to the div.bodymovin
like data-animation-path="link to the json file"
, data-bm-renderer=svg
, data-bm-autoplay=true
, and if you want it to loop data-bm-loop=true
.
You could post your js file and/or json file on github and link to it in your project, using this post.
And your questions aren’t dumb, this is definitely something that sometimes takes some trial and error to get right.