0
Can anybody please 🙏🙏 fix this bug in my TODOs code. Please🙏😢😢.
To help me please 🙏 run this code first and click on the plus icon in code to identify the bug. Please 🙏🙏🙏🙏🙏 https://code.sololearn.com/W3bkOsIvIBi1/?ref=app If any Indian is reading this description so please try to give the feedback to me in Hindi otherwise you can do it in English as you wish. But please if anybody have answer regarding this bug in my code so please help 🙏 me.
2 Antworten
0
By default <button> will submit the form causing everything to disappear.
To prevent this behavior, explicitly give the button a type.
ex. type="button"
<button onclick="additem()" id="additem1" type="button">+</button>
0
Thank You so much 😭🙏🙏😊😊😊☺️☺️☺️☺️