how to remove .html in javascript code example
Example 1: javascript remove html element
const labelEmail = document.getElementById('label-email');
labelEmail.remove();
Example 2: delete html with javascript
document.querySelector('selector').remove();