#104618

Hi,

Your code did not work because when you assign a string to the template, the string is parsed to an element after the function.
In other words, you were trying to set the innerHTML of a string.

Best Regards,
Svetoslav Borislavov

Smart UI Team
https://www.htmlelements.com/