>_
CodeCraft
Studio IDE
Playground
Challenges
12
Snippets
Reference
Runtime:
Client-Side VM
Web Sandbox
JavaScript / TS
Python (Pyodide)
SQL DB Engine
Templates
Save
Export
Run
(Ctrl+↵)
index.html
styles.css
main.js
index.html
html
13
Format
1
2
3
4
5
6
7
8
<div class="game-container"> <div class="hud"> <div class="hud-item">SCORE: <span id="score">0</span></div> <div class="hud-item">LIVES: <span id="lives">3</span></div> </div> <canvas id="gameCanvas" width="480" height="320"></canvas> <div class="controls-hint">Use ⬅️ and ➡️ arrow keys or drag your mouse to move paddle</div> </div>
Ln 1, Col 1
8 lines
Spaces: 2
Ctrl+Enter to Run
UTF-8
Live Preview
Console & Output
REPL Shell