Javascript output not displayed

Javascript output not displayed
0

#1

I am new to javascript and I have just started learning it. Can anyone tell me why the result is not displayed after I click the submit option.

My Codepen Link

//My javascript code
    var temp = document.querySelector('div');
    var p = document.querySelector('p'); 
    document.querySelector('.getSubmit').addEventListner('click', result);
    function result(){
      p.textContent = 'Hiiiiiii!!!!';

#2

You misspelled addEventListener


#3

Thanks @miku86coding I made a really silly mistake:joy::joy: