document.getElementById('icon').appendChild(icon);document.getElementById('icon').innerHTML = "";function coords(lat, long) {
fetch(`url`)
.then((response) => response.json())
.then((data) => {
const icon = document.createElement('i');
icon.className = icons(data.weather[0].icon);
icon.style.fontSize = '120px';
document.getElementById('icon').innerHTML = "";
document.getElementById('icon').appendChild(icon);)} elem.appendChild(icon)document.getElementById('icon').innerHTML = ''