1<!-- you just need a button type of reset -->
2<form>
3 <div>
4 <label for="name">Name</label>
5 <input type="text" id="name" placeholder="name" />
6 </div>
7 <div>
8 <label for="password">Password</label>
9 <input type="password" id="password" placeholder="password" />
10 </div>
11 <button type="reset">Reset</button>
12 <button>Submit</button>
13</form>
14