New Demo
Files in this demo
├─ index.html ├─ style.css └─ script.js
Let’s write some code! This is a (mostly) empty demo to help you get started.
How do I edit this demo?
- 1Add content to your page in the
index.htmlfile. - 2Edit the design of your page in the
style.cssfile. - 3Change the functionality of your page in the
script.jsfile. - 4Switch between (or add new) files using the tabs above the editor. The files are linked together through the
index.htmlfile. - 5The preview on the right updates as you edit your code.
How do I save demos?
Save and load demos using the Save Demo and Load Demo buttons in the top-right corner! Use the Download button to download all the files in your demo, as well as a .demo file. Upload this file back to DEMOLAND to load in all the files for a demo at once.
WARNING: DEMOLAND saves your demos in this browser, on this computer (including any files you upload). Clearing your browser’s site data, switching to another browser, or working in a private window means your saved demos won’t be there. Download anything you want to keep!
What does the code in the demo template do?
This demo features some pre-existing code to help make your site run better. Read the notes contained in each file to see what each line of code does!
- The
index.htmlfile contains meta information that tells your web browser how to render your website. This file also connects your page to separate CSS and JavaScript files. - The
style.cssfile contains some basic overrides for default web styles. - The
script.jsfile contains a single line of code that should make a message appear in the console. If this message doesn’t appear, then the JavaScript file isn’t connected properly!
Click to resume
Use the console below.