PenCode x Bubble.io

Hi trying to turn my pencode into bubble.io plugin and need some help.
Need to know where to put the html, css and Javascript, Like when i looked there are two parts one from on page load and another one.
Cheers