";
document.getElementById('codeOutput').innerHTML = esc(code);
}
function copyCode(){
navigator.clipboard.writeText(document.getElementById('codeOutput').textContent).then(()=>{
const msg=document.getElementById('copyMsg'); msg.style.display='block'; setTimeout(()=>msg.style.display='none',2000);
});
}
addBC(); addBC();