Firestore Database front to back interaction

Does anyone know of any video/ text that explains how a ‘front-end’ button click in HTML will change Firestore elements?? It’s always about forms in the tutorials.

not planning to start Mcdonalds! Just want a button based game where numbers in the database change upon user click via javascript without the need to enter form values.

i know how firebase works re forms. However i want to make it so no text is required to update a firestore field upon clicking a button, this what i would assume to be simple operation is seemingly nowhere to be found.

Surely their must be a solution where you can click on a button without entering text and the database acts upon a function to say add/ subtract from the field when clicked upon?

I struggle to imagine this isn’t possible yet i cannot find a solution at all