+ 1

How do enable my "reset" button to reset the answer?

I've figuered out how to reset the input text fields, but I can't reset the answer field. Can someone help me out? https://code.sololearn.com/WTFyM95eGJw6/?ref=app

2nd Jul 2020, 1:24 PM
Stefan
Stefan - avatar
3 ответов
+ 5
inside a form put <input type="reset" />
2nd Jul 2020, 1:31 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 4
Make sure you use reset button inside form tag. https://code.sololearn.com/WSitVsHAQqy9/?ref=app
2nd Jul 2020, 1:25 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
<form> <Input type="reset"/> </Form>
2nd Jul 2020, 6:11 PM
Rupak Kumar
Rupak Kumar - avatar