Modernize is not defined

0

Has this kind of error happened to someone? Do you know how I can correct it?

    
asked by Karoline_hc 03.03.2018 в 20:51
source

1 answer

1

I assume that this error is coming out because you need to declare correctly both the library of Modernizr and% of JQuery ; It deals with the following way:

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
</body>
</html>

I have already tried it and from the console I can already access the object of Modernizr

    
answered by 03.03.2018 / 21:08
source