how to make a counter that lets the user add a point and subtract a point js code example
Example: javascript decrement
// Increment
let a = 1;
a++;
++a;
// Decrement
let b = 1;
b--;
--b;
// Increment
let a = 1;
a++;
++a;
// Decrement
let b = 1;
b--;
--b;