To reuse an HTML template, clone its content before adding it to the page: `template.content.cloneNode(true)`. The `true` requests a deep clone, including the node’s children. Appending the fragment directly moves its contents and leaves it empty; cloning lets you append copies repeatedly. section 7.2
Listing 7.6. Cloning multiple times to add to our page
const template = document.getElementById('button');
const clone = template.content.cloneNode(true); #1
document.body.appendChild(clone); #2
const clone2 = template.content.cloneNode(true); #3
document.body.appendChild(clone2); #4
A button template is cloned and appended twice, demonstrating repeated use. section 7.2
