I've looked up others questions which got nearly the same topic but sadly haven't found a working solution for myself.
I want to put two a Elements inside of one created div Element with appendChild but I can't just append them both together, cause it tells me that it only expects one argument.
let view = this.view as Nullable<HTMLElement>;
let link_1 = document.createElement('a');
let link_2 = document.createElement('a');
let link_container = document.createElement('div');
link_container.setAttribute('style', 'display: flex;');
const cont = link_container.appendChild(link_1, link_2);
view?.appendChild(cont);
I would really appreciate a working solution.