(please share the FULL error message you see, if applicable)
JS files of my project are not working. php and css are working fine. but js files are not added to the site.
Other Information
(other information and details relevant to your question)
What do you mean by that? What do you see exactly?
When I check your site, I see two JS files are being downloaded: hero-slider.js and searchbox.js. Those files are definitely being added to the site as far as I can tell. As to why they don’t do what you’d like them to do, that’s another question.
One thing I noticed about your code is that the code is being executed synchronously. The Javascript files are loaded halfway the page and executed immediately.
However, due to the time it takes for browsers to download and render the page, this could mean the Javascript fires before the HTML it interacts with exists. This is why you typically add your Javascript code to a window.onload event, so it only will do it’s thing when the page is actually fully ready.
These kinds of issues are easy to miss during local development, because loading files from your own computer is much faster, so the timing is very different.
But that’s just speculation. You may want to start by adding some debug statements to your Javascript code to make sure that the code is actually being loaded and executed, and that it works as you’d expect.