0

I am using Skel.js framework for my project. I have an HTML validation error which is not allowing my project to pass the W3C HTML and CSS validation.

The error:

The text content of element script was not in the required format: Expected space, tab, newline, or slash but found { instead.

Code:

<script src="js/skel.min.js">
    {
        prefix: 'css/style',
        preloadStyleSheets: true,
        resetCSS: true,
        boxModel: 'border',
        grid: { gutters: 30 },
        breakpoints: {
            wide: { range: '1200-', containers: 1140, grid: { gutters: 50 } },
            narrow: { range: '481-1199', containers: 960 },
            mobile: { range: '-480', containers: 'fluid', lockViewport: true, grid: { collapse: true } }
        }
    }
</script>

I found this related question but I'm not sure how it applies in the context of my site.

unor
  • 92,415
  • 26
  • 211
  • 360

0 Answers0