uot;&gt;&lt;/span&gt;</code>
              inside a form and you have the number of invalid fields.
              The same goes with
              <code>&lt;span class=&quot;counter-valid-fields&quot;&gt;&lt;/span&gt;</code>.
            </p>
            <p>You can also add the class <code>form-valid</code> and <code>form-invalid</code> to any element inside a <code>form</code> and it will be shown only when the form is valid or invalid.</p>
            <p>Try it yourself:</p><br>
            <form>
       