Tutorial
Get started with DEMOLAND and learn how to code websites!
How to use DEMOLAND
Get started with DEMOLAND and learn how to code websites!
Open chapter ↗DEMOLAND is a website template that allows you to distribute editable code demos (HTML, CSS, JavaScript) entirely within your web browser. This project was created by GD with GD to make teaching code easier, without the need for subscribing to any premium code distribution services.
DEMOLAND is a metaphor for a library containing books featuring chapters of demos. Each book is organized via JSON files, and each demo is split up into two HTML files (content and information). A Node.js file generates the homepage as a static document, while the code editor page fetches demos dynamically. The editor is built using CodeMirror 5.
Interested in launching your own DEMOLAND site? Clone the GitHub repository and launch your site via GitHub pages!
CREDITS
DEMOLAND was developed by GD with GD / Gabriel Drozdov. The site features Limkin by Too Much Type and Monaspace by GitHub. Text editors are built using CodeMirror 5. If you launch your own DEMOLAND, I’d appreciate it if you left these credits in (and sent me an email just to share your work!).
A library of HTML, CSS, and JavaScript demos presented entirely within your web browser. By GD with GD.
Get started with DEMOLAND and learn how to code websites!
Get started with DEMOLAND and learn how to code websites!
Open chapter ↗What is code? What can we use it for? This book is an introduction to coding through the lens of web programming. We’ll cover object-oriented programming using JavaScript, and use HTML and CSS to create visual and interactive outputs.