Home JavaScript Tutorial
CHAPTER 37 • INTERACTIVE EDITOR

What is a Function?

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 37 / 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.