+ 5
My code doesn't RUN here
On my web browser on PC my code runs sometimes with some errors but run. Here not. It's a BDI calculator. Someone can help me? Thanks! :) https://code.sololearn.com/Wi6buTr1pPeF/?ref=app
4 Respuestas
+ 10
1st it calculates the value shows it below, then submits it because it's a *form* element. which is used for submitting data to the server when you click the submit.
Use a different strategy to do it (search how to on the internet).
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
+ 6
Lord, here appears a white screen when I click on button. My Android is the latest version. I don't know how to solve it. 😢
+ 6
Thanks Lord Krishna
+ 6
I solved my problem. I changed the type of submit to type button. Now works fine. 😊👌