Counter Pluse et moins un javscript
function count(clicked_id)
{
var counter = document.getElementById('counter').innerHTML;
var parsed = parseInt(counter);
let result = clicked_id == "plus" ? parsed - 1 : parsed + 1;
document.getElementById('counter').innerHTML = result;
}
Fair Frog