Scratch to JavaScript
Already know Scratch? Map blocks to real JavaScript code quickly.
Scratch uses blocks; JavaScript uses text. The ideas are the same:
- Scratch variables โ
let score = 0 - Scratch repeat โ
fororwhileloops - Scratch if โ
if / else - Scratch define block โ
function
You already think like a programmer โ JavaScript is the next level.