Join GitHub today
Add HTML example for <details> #924
Thanks for your contribution @Regaddi ! I had a few quite minor comments.
Also though - we don't unfortunately note this in the style guide and haven't been terribly consistent with asking for it, but I prefer examples which are not themselves documentation of the thing for which they are examples. I think this is potentially confusing for people: for example, in our user testing some people saw the contents of the output pane as part of the documentation itself, and I think choosing documentation as the example will encourage that.
So I'd prefer examples that are clearly something else, like https://interactive-examples.mdn.mozilla.net/pages/tabbed/caption.html or https://interactive-examples.mdn.mozilla.net/pages/tabbed/footer.html.