let inputID;
let nam;
let divID = document.getElementsByClassName("div");
let dd = document.getElementsByClassName("dd");
let btn1 = document.getElementById("btn");
inputID = 0;
nam = 0;
btn1.onclick = function() {
divID.innerHTML = nam;
nam++;
console.log(nam);
};
console.log(divID);