Need help on Routing: Unable to run script on content page

Hi, just want to run inline script on my content page. However, I found out that the script doesn’t work on the content page. Just try out simple script as follows. I also tried external script and found out it doesn’t work as well. I’ve also tried to include script from CDN but still unable to get the script to work.

<script>
$(document).ready(function(){
  $("p").click(function(){
    alert("The paragraph was clicked.");
  });
});
</script>

What I might have missed and how actually can I run inline script and 3rd party script from my routing content page?

Community Page
Last updated: