How to change GRADIENT with code?

Hi again @J. D.

I designed a button in html that I want to use for my custom element, but I’m not sure how to add it.

I created a custom element called custom-button.html, then I selected the source file for the custom element, however it is blank.

Please note, I do have my domain connected.

Video:

https://streamable.com/voa24v