better example html

This commit is contained in:
HorizonCode 2023-05-12 14:14:06 +02:00
parent e6f6b1ddc5
commit 4e1ac5888a

View File

@ -63,9 +63,9 @@ httpServer.get("/site", (_req, rep) => {
</head> </head>
<body> <body>
<h1>Hello World!</h1> <h1>Hello World!</h1>
<img src="/assets/lucoa.gif" width="150" /> <img src="/assets/lucoa.gif" id="lucoa" width="150" />
<br> <br>
<button onclick="alert('bruh')">Useless button, do not press.</button> <button onclick="document.getElementById('lucoa').remove(); alert('omg, you killed her you monster.')">Useless button, do not press.</button>
</body> </body>
</html> </html>
`; `;