I have created a webpage using the InnerHtml function in JavaScript. I now want to import some icons into this JavaScript file.
These icons have come from an external site, which contains a CDN link.
How could I do this?
I have tried to write the CDN link inside the tags of the InnerHTML function, as well as in the HTML part of the InnerHTML function. However, neither way imports the icons correctly.