Project 4 - Javascript II - Part C

  1. Login to your W3 Schools Spaces account and open your project4.html file.
  2. Create a button with the id "butt"
  3. Create a paragraph with the id "p1"
  4. Create a function (of your own,) that is activated when the button is clicked.
  5. Have the function use innerHTML to change the text in the paragraph with an ID of 'para1' to this text:
    'All work and no play, makes Jack a dull boy!'
  6. Call your function using an annonymous function with an onclick event handler.

Now go back to your course and review Chapter 7 of the Javascript Foundations StudioWeb course. Watch it AGAIN if you have already watched it.