o.remove();
const img = document.createElement('img');
img.src = $event.target.src;
img.className = 'max-w-full max-h-full object-contain rounded-lg';
o.appendChild(img);
document.body.appendChild(o);
}
">
이거 전자가 불가능하고 후자만 가능 할 수도 있나요?