Project 4 - Javascript II - Part C
- Login to your W3 Schools Spaces account and open your project4.html file.
- Create a button with the id "butt"
- Create a paragraph with the id "p1"
- Create a function (of your own,) that is activated when the button is clicked.
- 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!'
- 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.