function dodavanjeToDoObjekata() {
let add = document.querySelector('#add').value;
let newElement = document.createElement('div');
newElement.classList = 'add-element';
newElement.innerHTML = `${add}` + `<button onclick="removeObj()">x</button>`;
document.querySelector('.lista').appendChild(newElement);
}
function removeObj() {
let brisanje = document.querySelector('.add-element');
brisanje.remove();
}