←EasyCode logoEasyCodeLab
HomeModulesPlayground
⚡

JS Playground

Discover what JavaScript is and write your first lines of code. Learn variables, constants, and the browser console.

Prerequisites:🌐Course Overview
1

What is JavaScript?

Discover why JavaScript was created and what role it plays on every web page you visit.

2

The Browser Console

Meet the browser console — your built-in playground for writing and testing JavaScript instantly.

3

Variables with let

Learn how to store and update values using variables — the building blocks of every program.

4

Constants with const

Learn how to declare values that never change using the const keyword.

5

Comments & Readability

Learn how to leave notes in your code and name variables clearly.

6

Capstone: Tip Calculator

Put everything together by building a tip calculator that computes how much to tip at a restaurant.

7

Codelab: Your First JS File

Create a real JavaScript file on your computer and run it in the browser to build a working tip calculator page.