Gestion des erreurs de nombre négatif dans JavaScript

const totalAmountInput = document.getElementById("Total-amount");
Famous Finch