Button type button
I’ve seen <button type=”button”> before but thought that you never need it. Turns out you do… If you have a button on the page then by default its type is button. But if that button is inside a form then by default its type is submit. It makes sense....