1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
<head>
<title>Vanilla JS</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="app">
<h1>Hello from Vanilla JS</h1>
<button id="btn">Click me</button>
<p id="count">0</p>
</div>
<script src="script.js"></script>
</body>
</html>
responsiveauto-refreshes as you type
AI Agent
Not connected
Your AI pair programmer
The agent sees your whole workspace — currently 3 files with index.html in focus. It proposes full-file changes; you apply them.
Quick tasks
3 files in context
Agent edits run in your workspace — review every change before applying.
output
Output appears here. “Run” executes the active .js file in a sandbox; Preview renders HTML.