title: Button not working in a different tab than the default one
body: <p>I made some tabs on my page but buttons don't work unless they are on the home tab.
  Also all js code i put below an event listener that is connected to a button in a different tab than default one does not work.</p>
  <p><a href="https://github.com/Vritta531/Vritta" rel="nofollow noreferrer">https://github.com/Vritta531/Vritta</a></p>
  <p>I really don't know if this issue is related to the way I coded tabs or something else.
  I'm still a beginner.
  I would appreciate any help.</p>