Description
BlockLike.js is an educational JavaScript library that bridges block-based programming and text-based code. It follows the concepts, methods and patterns of Scratch, the block programming environment from MIT. A program has a centred stage, you interact with sprites on it, and code runs in a paced manner, so a Scratch block program and its BlockLike.js version are meant to be as literally similar as possible. The library is written in ES6 and ES7 style JavaScript and is environment independent, so it runs anywhere modern JavaScript runs. The site has side-by-side examples for a hello world program, a pattern drawing and an interactive homepage with a sprite, a backdrop and confetti, and each example opens in CodePen. There is a Get Started guide, an FAQ and documentation. The source code is public on GitHub at ronilan/BlockLike.…
Highlights
- Scratch-style stage and sprites in JavaScript
- Side-by-side examples with Scratch blocks
- Runs anywhere modern JavaScript runs
- Examples open in CodePen
- Built for learners moving from blocks to text
Ratings & Reviews
No ratings yet
Be the first to rate BlockLike.
People also visit
BlockLike FAQ
What is BlockLike.js?
An educational JavaScript library that lets you write code that mirrors Scratch block programs, with a stage, sprites and paced execution.
Who is it for?
Learners and teachers who want to move from block-based programming to text-based JavaScript.
Do I need to install anything?
No special environment is needed. The library runs wherever modern JavaScript runs, and the examples open in CodePen.
Where can I see examples?
The site shows side-by-side examples for hello world, pattern drawing and an interactive homepage, each opened in CodePen.
What are the best BlockLike alternatives?
Popular alternatives to BlockLike include Blockly, PXT Microbit and Blocks. See all BlockLike alternatives
