11)Check you placed .before the class
2Example:
3document.getElementsByClassName('.yourclassname') //.before class name is wrong
4the code should be document.getElementsByClassName('yourclassname');
52)Check the spelling for addEventListener
6///dont feel embrassed because i always do these mistakes eventhough i used this property it 10000 times