Hello, fellow developers or learners. I was trying to implement an example I saw here: https://www.w3schools.com/js/js_whereto.asp.
The script was
function myFunction() {
document.getElementById("demo").innerHTML = "Paragraph changed.";} .
It was titled ‘File.js’ .
The HTML text was
<!doctype HTML>
<HTML>
<BODY>
<h2>An External JavaScript</h2>
<p ID = "demo">A paragraph</p>
<button type = "BUTTON" ONCLICK = "myFunction">TRY IT</button>
<script src = "content://com.estr