close
The Wayback Machine - https://web.archive.org/web/20200116105502/https://github.com/mdn/interactive-examples
Skip to content
Home of the MDN live code editor interactive examples
HTML CSS Other
Branch: master
Clone or download
ikarasz and wbamberg Replace some .html example sources with .js (#1528)
* use es6 variable declarations

* fix variable name

* use javascript for some js examples
Latest commit 9ddbec4 Jan 16, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Image .github Add a new line for markdown bullet list (#1028) Jul 12, 2018
Image bin Build script now will now set HOME variable to /mdn (#1417) Aug 20, 2019
Image live-examples Replace some .html example sources with .js (#1528) Jan 16, 2020
Image media Fix css guide image (#1475) Nov 6, 2019
Image .all-contributorsrc Adds @ichthub as a contributor (#1278) Jan 8, 2019
Image .editorconfig Editor config fix (#1143) Sep 13, 2018
Image .eslintignore Adds eslint to precommit (#673) Mar 25, 2018
Image .eslintrc.js Issue#1005 web api examples editor (#1142) (#1174) Oct 11, 2018
Image .gitignore Build script now will now set HOME variable to /mdn (#1417) Aug 20, 2019
Image .prettierrc fix(performance): send loadEventEnd to parent via postMessage (#967) Jun 12, 2018
Image .stylelintignore Adds stylelint as precommit hook (#675) Mar 23, 2018
Image .stylelintrc
Image .travis.yml Remove travisbuddy (#1527) Jan 15, 2020
Image CODE_OF_CONDUCT.md Adds Mozilla COC fixes issue#1335 (#1337) Apr 5, 2019
Image CONTRIBUTING-CSS.md Issue#1005 web api examples editor (#1142) (#1174) Oct 11, 2018
Image CONTRIBUTING-HTML.md Issue#1192 links to media files broken (#1197) Oct 23, 2018
Image CONTRIBUTING-JavaScript.md Issue#1005 web api examples editor (#1142) (#1174) Oct 11, 2018
Image CONTRIBUTING.md Issue#1005 web api examples editor (#1142) (#1174) Oct 11, 2018
Image CSS-Example-Style-Guide.md Fix css guide image (#1475) Nov 6, 2019
Image JS-Example-Style-Guide.md ES6 updates for the guide (#1514) Jan 2, 2020
Image Jenkinsfile Clean up workspace after build completes (#1375) Jul 9, 2019
Image LICENSE Change license to CC0 May 16, 2017
Image README.md Atomics ES6 fix (#1484) Nov 14, 2019
Image package-lock.json Update dependency mdn-bob to v1.1.43 (#1525) Jan 14, 2020
Image package.json Update dependency mdn-bob to v1.1.43 (#1525) Jan 14, 2020
Image renovate.json Update renovate config with assignees and labels (#1363) May 26, 2019
Image travis-deploy-pages Allow an empty commit for travis deploy Jan 11, 2018

README.md

interactive-examples

Build Status code style: prettier

Home of the MDN interactive code examples.

Project maintainers

Should you have any questions regarding this project, please feel feel to @mention either @wbamberg or @schalkneethling

Good first issues

Want to contribute to the interactive examples project? Here are a couple of good first issues to get you started. Thanks!

Good first issues

Folder structure

  • [css] - This contains the CSS used by the base templates.
  • [js] - This contains the JS used by the base templates.
  • [live-examples] - This contains the live example CSS and JS fragments.
  • [media] - The contains images used by the live examples and templates.
  • [tmpl] - The base templates.

The dynamically generated pages, their dependencies, and assets are generated to the prod branch.

Browser support baseline

The following is a list of browser/version combinations that are supported by the interactive editor. In browsers that do not meet the criteria, the editor degrades gracefully to displaying static examples.

  • Firefox - Latest three release versions.
  • Chrome - Latest three release versions.
  • Opera - Latest two release versions.
  • Safari - Latest two release versions.
  • Internet Explorer - version 11.
  • Edge - Latest release version.

Contributing

If you're interested in contributing to this project, great! Please see the CONTRIBUTING document.

Contributors

Thanks goes to these wonderful people (emoji key):

Image
Schalk Neethling

💻 📖 ⚠️
Image
Mark Boas

💻 📖
Image
William Bamberg

💻 📖
Image
Stephanie Hobson

💻
Image
Josh Mize

💻
Image
Chris Mills

📖 💻
Image
Dave Parfitt

💻
Image
Normal Human

📖
Image
Gal Pasternak

📖
Image
SphinxKnight

💻
Image
Ayush Gupta

💻
Image
John Whitlock

💻 🚇
Image
mfluehr

💻 📖
Image
Paul Irish

💻
Image
Dhruv Jain

💻
Image
Ivan Ng

💻
Image
CShepartd

💻
Image
Kenrick

💻 ⚠️
Image
Anton Boyko

💻
Image
Daniel Hickman

💻
Image
Rachel Andrew

💻
Image
Helmut Granda

💻
Image
Dominic Duffin

💻
Image
Darek Antkowicz

💻
Image
Ben

💻
Image
Ben Stokes

💻
Image
Veekas Shrivastava

💻
Image
Brian Macdonald

💻
Image
Mathias Arens

💻
Image
Clément P

💻
Image
Patrick Lienau

💻
Image
yisibl

💻
Image
Ian Sanders

💻
Image
Nikolay Puzyrev

💻
Image
Marek Pepke

💻
Image
Rudz Boy

💻
Image
Simon Wörner

💻
Image
Martijn Thé

💻
Image
Abhishek

💻
Image
Chen Hui Jing

💻
Image
Mats Palmgren

💻
Image
Florian Scholz

💻
Image
Adilson Sandoval

💻
Image
Eric Shepherd

💻
Image
Leonard Lee

💻
Image
Théis Bazin

💻
Image
Neha Nupoor

💻
Image
Stephan Max

💻
Image
Christian Stuff

💻
Image
Yahya Elharony

💻
Image
Arkangus

💻
Image
Robert Katzki

💻
Image
arai-a

💻
Image
daGo

💻
Image
Max Donchenko

💻
Image
Taylor Hunt

💻
Image
Enguerran

💻
Image
Estelle Weyl

💻
Image
Jon Borglund

💻
Image
Joe Medley

💻
Image
Ryan Johnson

💻
Image
Irene Smith

💻
Image
Melissa

💻
Image
Roy Revelt

💻
Image
Konstantin Rouda

💻
Image
Gene Wood

💻
Image
Dan Levy

💻
Image
Arjan Einbu

💻
Image
Solomon Jones

💻
Image
Olle Lauri Boström

💻
Image
Seren D

💻
Image
Tremaine Neethling

💻
Image
Flying-Toast

💻
Image
Dimitri Belopopsky

💻
Image
Karl Stolley

💻
Image
Liz Lawley

💻
Image
Daniel Holbert

💻
Image
Kevin Simper

💻
Image
Romulo Cintra

💻
Image
Hassan

💻
Image
Velu S Gautam

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

You can’t perform that action at this time.