Why I cant use jQuery functionality

script elements can have a src attribute or content, but not both. If they have both, the content is ignored (the content is considered “script documentation,” not code).

Use another script block for your jQuery script

<script src="https://stackoverflow.com/questions/29060352/jquery-2.1.3.js">
</script>
<script>
    $("p").css("color","orange")
    $("body").css("background","#00ff00")
</script>

Leave a Comment