Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
When I click on any button it is disappearing
2 Réponses
+ 1
the button inside form fire a submit event. its like whe you're clicking on login button then the page change.
you can remove the form. but keep the input button
or add this to your js
window.onload = ()=>{document.querySelector("#calc").onsubmit = (e)=>{e.preventDefault();}}
0
Tq bro it's working