I have a form that, with JS, has an error message that is meant to appear when one or more of the fields in the form are left empty. However, when I click the submit button, nothing appears. HTML: <body> <script type=text/javascript src="script.js"></script> <h1>Organisation Score Calculator</h1> <!-- <h4>Input the name of the charity.</h4> <input type="text" id="nameOfOrganisation"> <h4>Which state/territory does this organisation service?</h4> <input type="text" id="state"> <h4>What is the ACNC listed size for this organisation?</h4> <input type="text" id="size"> <h4>What percentage of the organisation's total income is from government grants?</h4> <input type="text" id="governmentGrants"> <h4>How much net profit does the organisatio
A site where you can share knowledge