added picoserve example

This commit is contained in:
2025-07-29 15:59:20 +02:00
parent 44e2abfeaf
commit 685c0071f6
7 changed files with 668 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Simple Static Example</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Hello from Static!</h1>
<button id="clickMeBtn">Click Me</button>
<p id="message"></p>
<script src="script.js"></script>
</body>
</html>

View File

@@ -0,0 +1,3 @@
document.getElementById("clickMeBtn").addEventListener("click", function() {
document.getElementById("message").textContent = "You clicked the button!";
});

View File

@@ -0,0 +1,27 @@
body {
font-family: Arial, sans-serif;
background: #f7f8fa;
text-align: center;
margin-top: 100px;
}
h1 {
color: #333;
}
button {
padding: 10px 25px;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
border: none;
background: #4e8cff;
color: white;
margin-top: 20px;
}
#message {
margin-top: 30px;
color: #4e8cff;
font-weight: bold;
}