Skip to content

Commit

Permalink
added defer attribute to imported scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
BohdanKoleiko committed Jun 23, 2024
1 parent d5af119 commit c4708de
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<!-- Connection styles -->
<link rel="stylesheet" href="./css/bootstrap.css" />
<link rel="stylesheet" href="./css/bootstrap-reboot.min.css" />
<!--<link rel="stylesheet" href="./css/font.css">-->
<link rel="stylesheet" href="./css/style.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
</head>
<body>
<div class="wrapper" id="top">
Expand Down Expand Up @@ -102,20 +102,30 @@
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2"
crossorigin="anonymous"
defer
></script>

<!--JQuery script-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"
defer
></script>

<!-- justValidate plugin -->
<script src="https://unpkg.com/just-validate@latest/dist/just-validate.production.min.js"></script>
<script
src="https://unpkg.com/just-validate@latest/dist/just-validate.production.min.js"
></script>

<!-- IMask CDN -->
<script src="https://unpkg.com/imask"></script>

<!-- Animate -->
<!--<script src="js/wow.min.js"></script>-->

<!--My own script-->
<script src="./js/inputMask.js"></script>
<script src="./js/formValid.js"></script>
<script src="./js/script.js"></script>
<script src="./js/wow.js" defer></script>
<script src="./js/inputMask.js" defer></script>
<script src="./js/formValid.js" defer></script>
<script src="./js/script.js" defer></script>
</body>
</html>

0 comments on commit c4708de

Please sign in to comment.