.append() not working on firefox

Calculator Pen works well on chrome but not on firefox. The problem is from lines 41 and 48 of the javascript code where I tried to append text to a div. The error I get from the console on firefox says .append() is not a function though it works on chrome.

Hello, in your code ‘expression’ is an html element get from vanilla JS, append is a function of jquery to use it you have to call with $(expression)… after that it works! :wink:

( Sorry for my english :stuck_out_tongue: )

1 Like

Done that and It works now! Weird since it seemed to work fine on chrome.

Thanks man! I owe you one :v: