Pebbling Club 🐧🪨

  • Single HTML Element Star Rating Component - DEV Community
    Notes
    In this article, we'll explore how to build a star rating system using a single HTML and just one JavaScript command.
  • Durable websites | Go Make Things
    Notes
    Serve mostly static HTML. Use flat JSON storage. Go buildless! Use service workers. Go HTML-first.
    Feed
    Unfurl
  • Lens - Check your meta tags, icons, and rss feeds
    Notes
    Check your meta tags, icons, and rss feeds
    Unfurl
  • moon toggle 🌛
    Notes
    Neat dramatic light / dark theme button
  • Retro futuristic radio buttons with GSAP
  • How to fix Storybook screenshot testing | Tiger Oakes
    Notes
    As an alternative to Chromatic, I’ve been using Storybook’s Test Runner to power screenshot tests for Microsoft Loop. We configure the test runner to run in CI and take a screenshot of every story. However, the initial implementation based on the official Storybook docs was very flaky due to inconsistent screenshots of the same story. Here are some tips to reduce flakiness in your Storybook screenshot tests.
    Unfurl
  • Domo Dance Party! (2024 remake)
  • More options for styling <details>  |  Chrome for Developers
    Notes
    From Chrome 131 you have more options to style the structure of <details> and <summary> elements. You can now use these elements when building disclosure or accordion widgets.
    Unfurl
  • Speculation Rules API - Web APIs | MDN
    Notes
    The Speculation Rules API is designed to improve performance for future navigations. It targets document URLs rather than specific resource files, and so makes sense for multi-page applications (MPAs) rather than single-page applications (SPAs).
    Feed
    Unfurl
  • </> htmx ~ You Can't Build Interactive Web Apps Except as Single Page Applications... And Other Myths
    Notes
    The browser has come a long way. Give it a chance!
    Feed
    Unfurl
  • The Different (and Modern) Ways To Toggle Content | CSS-Tricks
    Notes
    let’s spend some time looking at disclosures (<details> and <summary>), the Dialog API, the Popover API, and more. We’ll look at the right time to use each one depending on your needs. Modal or non-modal? JavaScript or pure HTML/CSS? Not sure? Don’t worry, we’ll go into all that.
    Feed
    Embed
    Unfurl
  • HTML Form Validation is heavily underused
    Notes
    HTML Forms have powerful validation mechanisms, but they are heavily underused. In fact, not many people even know much about them. Is this because of some flaw in their design? Let’s explore.
    Unfurl
  • Highlighting Text in Links with Text Fragments
    Notes
    I’ve used URL text fragments in a few posts now and often use it outside of this blog to point someone to a particular piece of text on a page. They’re a really useful feature that allows you to create a URL that links not just to a page or an anchor on that page, but specifically to a bit of text that you’d like to call out to your audience.
  • Tab panel using <details> with vertical tabs and web components
  • Tab panel using <details> with selectable tab orientation (no JS)
  • Example of Tabs with Automatic Activation | APG | WAI | W3C
    Notes
    This example section demonstrates a tabs widget that implements the Tabs Pattern. In this example, a tab is automatically activated and its associated panel is displayed when the tab receives focus. It is recommended that authors consider implementing automatic activation of tabs only in circumstances where panels can be displayed instantly, i.e., all panel content is present in the DOM.
    Feed
    Unfurl
  • Pure CSS Tabs
    Notes
    A version of a tab panel in HTML & CSS with no javascript, using a radio selector
  • Cycling gradient glow - no text duplication
  • jacktuck/unfurl: Metadata scraper with support for oEmbed, Twitter Cards and Open Graph Protocol for Node.js :zap:
    Notes
    Highlight:Unfurl (spread out from a furled state) will take a url and some options, fetch the url, extract the metadata we care about and format the result in a sane way. It supports all major metadata providers and expanding it to work for any others should be trivial. Metadata scraper with support for oEmbed, Twitter Cards and Open Graph Protocol for Node.js :zap: - jacktuck/unfurl
    Unfurl
  • microlinkhq/metascraper: Get unified metadata from websites using Open Graph, Microdata, RDFa, Twitter Cards, JSON-LD, HTML, and more.
    Notes
    Highlight:The metascraper library allows you to easily scrape metadata from an article on the web using Open Graph metadata, regular HTML metadata, and series of fallbacks. Get unified metadata from websites using Open Graph, Microdata, RDFa, Twitter Cards, JSON-LD, HTML, and more. - microlinkhq/metascraper
    Unfurl
  • Server-side rendering (SSR) – Lit
    Notes
    Lit supports server-side rendering through the Lit SSR package. Lit SSR renders Lit components and templates to static HTML markup in non-browser JavaScript environments like Node. It works without fully emulating the browser's DOM, and takes advantage of Lit's declarative template format to enable fast performance, achieve low time-to-first-byte, and support streaming.
    Feed
    Unfurl
  • Learn HTML
    Notes
    This HTML course for web developers provides a solid overview for developers, from novice to expert level HTML.
    Unfurl
  • Tree views in CSS
    Notes
    A tree view (collapsible list) can be created using only HTML and CSS, without the need for JavaScript. Accessibility software will see the tree view as lists nested inside disclosure widgets, and the standard keyboard interaction is supported automatically.
    Unfurl
  • Fill Murray
    Notes
    The internet was missing the ability to provide custom-sized placeholder images of Bill Murray. Now it can.
    Unfurl
  • HTML5 Drag and Drop Avatar Changer with Resizing and Cropping | CSS-Tricks
    Notes
    Let's create a page where a user can update their avatar with as little friction as possible: they just drop an image anywhere on the page and it's done.
    Feed
    Embed
    Unfurl
  • Case Study: Auto-Resizing HTML5 Games - HTML5 Rocks
    Notes
    In the summer of 2010, we created Sand Trap, a game that we entered in a competition on HTML5 games for mobile phones. But most mobile phones either displayed only part of the game or made the game too small—making it completely unplayable. So we took it upon ourselves to make the game fluidly adjust to match any resolution. After a bit of re-programming and using ideas outlined in this article, we had a game that scaled across any modern browser, whether it ran in a desktop or a mobile device.
    Unfurl
  • DevDocs
    Notes
    DevDocs is an all-in-one API documentation reader for developers.
    Feed
    Unfurl
  • You can’t create a button | NCZOnline
    Notes
    Unfortunately, sometimes web developers try to get a bit too clever in creating their interfaces. What if I want something to look like a link but act like a button?
    Feed
    Unfurl
  • hColumns
    Notes
    hColumns is a jQuery plugin that looks like Mac OS X Finder's column view for the hierarchical data.
    Unfurl
  • hakimel/reveal.js · GitHub
    Notes
    The HTML Presentation Framework
    Unfurl
  • Infinite Scrolling that Works - Evil Trout's Blog
    Notes
    The URL is the serialized state of your web application
    Feed
    Unfurl
  • <hgroup> - HTML | MDN
    Feed
    Unfurl
  • <aside> - HTML | MDN
    Feed
    Unfurl
  • <footer> - HTML | MDN
    Feed
    Unfurl
  • <header> - HTML | MDN
    Feed
    Unfurl
  • <nav> - HTML | MDN
    Feed
    Unfurl
  • <article> - HTML | MDN
    Feed
    Unfurl
  • <section> - HTML | MDN
    Feed
    Unfurl
  • Combining HTML Hypermedia APIs and Adaptive Web Design – Jayway
    Notes
    HTML is the lowest common denominator in a world where the number of devices are steadily growing. In such a world, our API should be hypermedia driven and we should consider choosing HTML as the media type for our APIs. If we choose this, we can enhance the API with CSS and JavaScript, making the API human-friendly as well. Further, we can use Adaptive Web Design to make the best possible experience for all types of browsers and devices. This kind of solution has some risks and technical issues related to it though. And it is not a silver bullet.
    Unfurl
  • JonLax.com - The unOfficial homepage of Jon Lax
    Feed
    Unfurl
  • List.js - Add search, sort and flexibility to plain HTML lists with cross-browser native JavaScript by @javve
    Notes
    Do you want a 7 KB cross-browser native JavaScript that makes your plain HTML lists super flexible, searchable, sortable and filterable? Yeah! Do you also want the possibility to add, edit and remove items by dead simple templating? Hell yeah!
    Unfurl
  • Shining - Awesome presentations in HTML!
    Notes
    A toolkit for building presentations in HTML
    Unfurl
  • Using SimpleXML with HTML | drewish.com
    Notes
    "PHP 5's SimpleXML module is one of the the biggest reasons to upgrade to 5. If you're parsing RSS feeds or the results of webservice requests it works beautifully and saves a ton of time. The only problem with it is that it'll only load valid XML. I banged my head against it for way to long before coming up with the following:"
    Unfurl
  • Some Notes On iTunes LP · Jay Robinson
    Notes
    "The iTunes LP experience is accomplished with HTML 4.01, CSS and JS. The interface feels very Flash-like, but there is no trace of it. The CSS animations are elaborate and smooth. ... As a music fan, and as a web developer, I couldn’t be more pleased with the new iTunes LP offering. If your audience is significantly Apple-oriented (e.g. a site about Mac rumors or a popular iPhone app) this proves that you can provide an incredible experience using only JavaScript and some proposed CSS3 properties."
    Feed
    Embed
    Unfurl
  • Version Control for HTML
    Notes
    "This webpage is a demonstration of the built-in version control capabilities for HTML. The INS and DEL tags are used along with the cite and datetime attributes to indicate why and when something changed."
    Unfurl
  • Weekend coding: Add a character counter as the background of a textarea with JavaScript | CodeUtopia
    Notes
    "Have you ever filled a textarea on a page, which had a limit to how many characters you could type into it? ... How to effectively communicate how many characters you can type into a box, and have it look good. ... Add the number counter as the background of the textarea!"
    Unfurl
  • camen design · Video for Everybody!
    Notes
    "Video For Everybody is very simply a chunk of HTML code that embeds a video into a website using the HTML5 <video> element which offers native playback in Firefox 3.5 and Safari 3 & 4 ... In other browsers that do not support <video>, it falls back to Adobe Flash ... If Flash is not installed, QuickTime is used (which allows playback on the iPhone) ... If QuickTime is not installed then Windows Media Player is used in Internet Explorer for Windows Vista and above. ... Finally, if all else fails, a warning is issued that provides links to download the video, and links to software relevant to getting the video to play within the browser itself. ... This is all done without JavaScript and requires only two video encodes, one OGG file for Firefox 3.5, and one MP4 file for everything else (Flash / Safari / iPhone)."
    Unfurl
  • URL Shortening Hinting - Laughing Meme
    Unfurl
  • V2 suggestion on WeGottaEat
    Unfurl
  • HTML-Ipsum
    Unfurl