Has this kind of error happened to someone? Do you know how I can correct it?
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