suna/backend/agent/workspace/index.html

54 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Web Development Demo</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<header>
<h1>Welcome to My Web App</h1>
<p>This is a simple demonstration of web development capabilities.</p>
</header>
<main>
<section class="card">
<h2>Interactive Demo</h2>
<p>Click the button below to see some magic happen!</p>
<button id="changeColorBtn">Change Colors</button>
<div id="colorDisplay" class="color-box"></div>
</section>
<section class="card">
<h2>Counter Demo</h2>
<p>A simple counter implementation:</p>
<div class="counter-container">
<button id="decrementBtn">-</button>
<span id="counterValue">0</span>
<button id="incrementBtn">+</button>
</div>
</section>
<section class="card">
<h2>To-Do List</h2>
<p>Add and manage your tasks:</p>
<div class="todo-container">
<div class="todo-input-container">
<input type="text" id="todoInput" placeholder="Enter a new task...">
<button id="addTodoBtn">Add</button>
</div>
<ul id="todoList" class="todo-list"></ul>
</div>
</section>
</main>
<footer>
<p>Created as a demonstration of web development capabilities</p>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>