https://coderexus.blogspot.com/2024/03/display-error-in-javascript-without.html