el.innerHTML = '<div id="bigdiv" style="width: 30%; padding: 15px; position: absolute; top: 10%; z-index: 100; left: 35%; background-color: rgb(51, 53, 65); border-radius: 0.625rem; box-shadow: rgb(255, 101, 47) 0px 0px 5px 0px; border: 1px solid rgb(255, 101, 47);">Content</div>';
document.querySelector('body').insertAdjacentHTML('beforebegin', '<div id="bigdiv" style="width: 30%; padding: 15px; position: absolute; top: 10%; z-index: 100; left: 35%; background-color: rgb(51, 53, 65); border-radius: 0.625rem; box-shadow: rgb(255, 101, 47) 0px 0px 5px 0px; border: 1px solid rgb(255, 101, 47);">Content</div>');
let usersData = [];
let locDataStorage = JSON.parse(localStorage.getItem("UpdateLocData"));
locDataStorage.forEach(function (item) {
usersData.push([item.label, item.userData]);
});
console.log(usersData);
let obj = {
"login": localStorage.getItem('username'),
"fio_operator_Start": localStorage.getItem('user_fio'),
"id_client": localStorage.getItem('IDClient'),
"fio_client": localStorage.getItem('fioClient'),
"fin_phone": localStorage.getItem('Phone'),
"thematic_id": localStorage.getItem('thematic_id'),
"thematic_name": localStorage.getItem('thematic'),
"userData": usersData
};
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);)}
<ul class="footer__socials socials socials_theme_ligth">
...
</ul>
.socials {
color: #000;
}
.socials_theme_ligth {
color: #fff;
}
.footer__socials {
margin-top: 100px
}