I'm facing a problem using the <form> tag inside my html code. When using, the tab selector does not switch between tabs correctly.
The complete code is here: https://codepen.io/francisco2022/pen/JjvEPVo
Notice that if the <form> tags are removed, the script works perfectly when changing the tabs.
What could be causing this error? I need to include a form for the first two tabs only.
Error reported in console: Uncaught TypeError: Cannot read properties of undefined (reading 'classList') at url_js:15