Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- </head>
- <body>
- <p id="frase" onmouseover="over()" onmouseout="out()">Tô tranquilo.</p>
- <button onclick="normal()">Resetassaporra!</button>
- <script>
- function over() {
- document.getElementById("frase").innerHTML = "FODA-SE";
- }
- function out() {
- document.getElementById("frase").innerHTML = "CARALHO, VOLTA AQUI";
- }
- function normal() {
- document.getElementById("frase").innerHTML = "Tô tranquilo.";
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement