Search This Website `; let searchEl = `
${searchIcon}
`; let referenceEl = document.querySelector(".header-actions"); referenceEl.insertAdjacentHTML("afterend", searchEl); //Mobile HTML let mobileSearchEl = `
${searchIcon}
`; let mobileReferenceEl = document.querySelector('[data-folder="root"] .header-menu-actions'); mobileReferenceEl.insertAdjacentHTML("afterbegin", mobileSearchEl);