I am encountering an issue with my website hosted on InfinityFree. I have successfully uploaded my code via cPanel, and the webpage functions properly on my local system. However, when accessing the site online, certain dropdowns are not opening as expected. I suspect this might be a hosting-related problem. I have attached screenshots for reference:
If anyone has experienced a similar issue or has expertise in web hosting, your insights would be greatly appreciated. Please help me understand why the dropdowns are not functioning on the live site despite working locally.
Hey there, welcome to the infinityfree forum. I’ve checked your site and found the issue. You’ve got two missing scripts on your website. And the dropdowns aren’t working because in your JS, it’s giving an error.
when I disable this CSS file (Book-card.css), then cards are displayed,so the problem is related to that file (and maybe also elsewhere)
Other
in addition, this file is missing http://constructionskillcard.co.uk/script.js
it probably has this (down) defined in it which is currently causing the problem about $
(the plugin with that “name” is missing)
Upload ALL again and make sure that all scripts and other files are in their place
For uploading (instead of monstaFTP) it is best to use the FTP client mentioned in this article
Thank you guys, it’s working now. The thing is at the time of uploading the site folders and pages (for first time) that time in the lib folder “counterup” folder itself is missing by chance i’m remembering failed to upload and that error i seen now that’s why drop-downs are not working, now I’ve uploaded that folder & all the stuff is perfectly working fine.