Home JavaScript Tutorial
CHAPTER 7 • INTERACTIVE EDITOR

let, const and var

Write JavaScript, HTML and CSS, click Run Code, and see the result instantly.

CODE EDITOR index.html
LIVE PREVIEW Ready
JAVASCRIPT CONSOLE
Console output will appear here...
← Previous
Chapter 7 / 208
Next →
💡 How to use: Write your code in the editor and click Run Code.
JavaScript-only code is automatically wrapped in an HTML document.
Tip: Press Ctrl + Enter to run the code. Press Tab for indentation.