Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Apr 16th, 2018 51 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. <script>
  2.     function addText() {
  3.     /* There will be an id in the html called "addTextID" where this string will be added
  4.     when the button with the onclick function is pressed.
  5.     */
  6.     document.getElementById('addTextID').innerHTML += "This is a new string. ";
  7. }
  9. function changeColor() {
  10.     /* When the button with the onclick function is pressed the content within the
  11.     tag with the id colorID will change color to green
  12.     */
  13.     document.getElementById("colorID").style.color = "green";
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand