Q:

Why my javascript doesn't work from the server

I just uploaded my website on a free host server but it doesn't work properly. I don't know why...
can you help me please ? 
see the link : 
    https://electrophotonique.000webhostapp.com/

A:

Your code is fine but you just need to put your scripts at the end of your code  before the </body>  tag Like this :
<html>
   <head>
      <link rel="stylesheet" href="CSS/style2.css">
      <link rel="shortcut icon" href="IMAGES/PNG/favicon.png">
      <meta charset="utf-8">
      <title>Electrophotonique Ingenierie</title>
      <meta name="viewport" content="width=device-width, initial-scale=1">
   </head>
   <body>

       <!-- YOUR CODE - START -->

         .....

       <!-- YOUR CODE - END -->

      <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
      <script type="text/javascript" src="JS/sticky_navbar.js"></script>
      <script src="js/button.js"></script>
      <script src="js/index.js"></script>

   </body>
</html>

