0

i uplaod my site to cpanel butits not opend and i get this error in my console :

Uncaught ReferenceError: skel is not defined at main.js:10:5 at main.js:114:3

and when i open main.js file i get this lines :

(function($) {

    skel.breakpoints({
        xlarge: '(max-width: 1680px)',
        large: '(max-width: 1280px)',
        medium: '(max-width: 1024px)',
        small: '(max-width: 736px)',
        xsmall: '(max-width: 480px)'
    });

note that the website is working in my pc . enter image description here enter image description here

ADyson
  • 57,178
  • 14
  • 51
  • 63
Anabeil
  • 73
  • 1
  • 11
  • You probably forgot to upload a JS file. – ADyson Aug 12 '23 at 07:37
  • i upload all js file and its work fine on my pc – Anabeil Aug 12 '23 at 08:00
  • Well, check you uploaded it in the right place. And check the Network tool when loading the page to see if loading of the skelJS file failed. Because the error is clear - that skel code is not present in your page. So you need to re-check everything and don't make any assumptions. – ADyson Aug 12 '23 at 08:37

0 Answers0