I want select an element that has commented in HTML and I add it in JavaScript to HTML, but when I did I got null error
const deleteElement=document.querySelector('.workout__delete');
workout__delete class that added to div, has commented in HTML and I added div to html through JavaScript, but I got null error from deleteElement.