Welcome to CODEBOX! (Copy 936)
✨ NARUMOL THONGCHUE
<html> <head> <title>Let's Start</title> <style> body{ background:#eee; margin:1em; font-family:sans-serif; animation: bg 6s infinite ease-in-out; color: white; text-shadow: 0px 2px #030303dd; } @keyframes bg{ 0%,100%{background-color:#333;} 25%{background-color:26619c;} 50%{background-color:73a9c2;} 75%{background-color:082567;} } </style> </head> <body> <!-- เขียนเว็บง่ายๆ และดูการแสดงผลด้านซ้ายมือได้เลย --> <h1 id="text">Let's Change text </h1> <button type="button" onclick="myFunction1()">Click Now!! </button> <button type="button" onclick="myFunction2()">Go to Start text </button> <script> window.alert("hello! This is virus I gonna kill your PC!!") function myFunction1(){ document.getElementById("text").innerHTML="next word"; } function myFunction2(){ document.getElementById("text").innerHTML="Let's Change text"; } </script> </body> </html>