interactive-examples
interactive-examples copied to clipboard
Home of the MDN live code editor interactive examples
It adds interactive example to [@keyframes](https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes). Unlike @counter-style, this at-rule works just fine on Firefox & Chrome. Currently tab opened by default will be "html". mdn-bob had possibility to open...
Interactive Example for [@layer](https://developer.mozilla.org/en-US/docs/Web/CSS/@layer). I have tested it on Firefox & Chrome, both of them work correctly. I have added "at-rule-" prefix in file name. I guess we could include...
I can omit the `cssExampleSrc` line in meta.json, but if I do, I get a CSS tab containing: ``` %example-css-src% ``` This seems like a bug. But I wonder, writing...
Nesting is reduced one level by array.flat. I have removed one level of nesting from the input to fix the semantics and at the same time make it more readable,...
### MDN URL https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select ### What information was incorrect, unhelpful, or incomplete? The default image is hamster and changing the animal with the select menu does nothing. ### Do you...
FF98 nightly adds support for `Array.prototype.groupByToMap()`. This is a basic example. Rest of docs that depend on this linked from https://github.com/mdn/content/issues/12579 This is the same as #2014 except that the...
The [SharedArray and Atomics examples don't work!](https://github.com/mdn/content/issues/15169) because the [security requirements](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements) for [SharedArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/SharedArrayBuffer) require that these headers are set: ``` Cross-Origin-Opener-Policy: same-origin Cross-Origin-Embedder-Policy: require-corp ``` @schalkneethling Is it possible to...
When using the javascript editor with long code and long console outputs, the overflows are a bit messy, as shown on the picture.  I was thinking of editing...
There are probably other situations where too little contrast makes things hard to see. Compare these white letters on bright yellow background atop this page, https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap I'll stop reporting these,...
See https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions. The interactive example could follow a similar pattern to the example for [Intl.NumberFormat.resolvedOptions()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/resolvedOptions).