Use .js file in ionic 4

I want to use .js file in my ionic 4 project but i don’t know how to use this

I want to use this codepen js file in my project

i add this file to “assets/js/bubblefile.js”, but don’t know how to call this in my home.html file

can anyone suggest how to do it?