I have this from w3schools, i'm still a student learning. So this changes the from 'A paragraph' to 'Paragraph changed', how can I create another button that reverse these changes back to 'A paragraph. I guess I have to create a second function, I have tried a few things but it didn't work.
Please check the link below the code from w3schools.
https://www.w3schools.com/js/tryit.asp?filename=tryjs_whereto_head