JSFiddle - React, Tailwind, and code Playground

by acbabis

HTML

<script
        src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"
        integrity="sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="
        crossorigin="anonymous">   
</script>
<div id="result"></div>
<br>
<div>Reading:
    <br> <a href="http://www.w3.org/TR/SRI/#the-integrity-attribute">http://www.w3.org/TR/SRI/#the-integrity-attribute</a>

    <br> <a href="http://www.w3.org/TR/SRI/#dfn-integrity-metadata">http://www.w3.org/TR/SRI/#dfn-integrity-metadata</a>

    <br> <a href="http://qnimate.com/how-to-make-browsers-verify-fetched-resources-content/">http://qnimate.com/how-to-make-browsers-verify-fetched-resources-content/</a>

</div>

JavaScript

if (window.jQuery) {
    $('#result').append('<div>jQuery loaded successfully</div>');
} else {
    document.getElementById('result').textContent = 'jQuery did not load';
}