<script>
function random(end) {
answer = (Math.floor((Math.random() * (end - 1) + 1)));
return answer;
}
function alert_lama(id) {
var newDiv = document.createElement("span")
newDiv.style.fontSize = random(100)+"px"
newDiv.style.left = random(85)+"%"
newDiv.style.top = random(85)+"%"
newDiv.style.color = "red"
newDiv.style.position = "absolute"
newDiv.innerHTML = "Лама"
var tester = document.getElementById("news");
tester.parentNode.appendChild(newDiv);
console.log(newDiv)
};
setInterval(alert_lama, 100);
</script>