ement.clientHeight;
            const scrolled = (winScroll / height) * 100;
            document.getElementById('progress-bar').style.width = scrolled + '%';

        });

 </script>
  <!-- form name  -->
<script>
    function validateText(input) {
       
        const errorMessage = document.getElementById('error-message');

      
        const invalidChars = /[^a-zA-Z\s]/g;
        if (invalidChars.test(input.value)) {
           
            errorMessage.style.display = 'inline';
   