Jump to content

Chris_Larham

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Chris_Larham

  1. Hi there, I made two changes to your HTML text, then tested it in my PHP Storm IDE and it worked - *A paragraph* successfully changed to *paragraph changed*. 1. You need to add empty parentheses after the name of the function that is called in response to a button click - i.e. "onclick="myFunction()". 2. You need to change the 'src' value of the script element, like this: "script src="https://www.w3schools.com/js/myScript.js". You should find that making those two simple changes makes your code functional; it worked for me.
×
×
  • Create New...