Facebook
From Bitty Treeshrew, 1 Month ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 27
  1. <html>
  2. <head>
  3. <meta charset="utf-8">
  4. <title>Halo</title>
  5. <style>
  6. #kotek {
  7.     display: none;
  8. }
  9. </style>
  10. </head>
  11. <body>
  12. <button onclick="xyz()">Guziol</button>
  13. <img id="kotek" src="https://placekitten.com/408/287">
  14. </body>
  15. <script>
  16.         function xyz() {
  17.                 var x = document.getElementById("kotek");
  18.                 if(x.style.display =="none") {
  19.                         x.style.display = "block";
  20.                 } else {
  21.                         x.style.display = "none";
  22.                 }
  23.         }
  24. </script>
  25. </html>