addeventlistener only on class code example
Example: apply event listener on id but why not style
for(var i = 0; i < bttn.length; i++){
bttn[i].addEventListener("click",draw,true)
}
for(var i = 0; i < bttn.length; i++){
bttn[i].addEventListener("click",draw,true)
}