xxxxxxxxxx
There are two possible **solutions** of this `element.addEventListener is not a function` error-
1. Treat the variable containing `document.getElementsByClassName("button")` as an array and be specific when using an event listener.
Example -
`element[0].addEventListener('click' , showComment , false )`
2. Use id for selecting that specific element.
Example-
`document.getElementById('button')`