.setAttribute("id", "id goes here")
var myElement = document.getElmentByClassName('my-element')
var.setAttribute("id", "id_you_like");
//creates div then assigns a reference of that object to myElement variable
let myElement = document.createElement('div')
//myElement.setAttribute("type here", "customName here")
myElement.setAttribute("class", "myClassName")
myElement.setAttribute("id", "myUniqueIDName")
var divEle= document.createElement('div');
divEle.id='firstDivId';