all AI news
HTML Web Components: An Example
Nov. 17, 2023, 4:33 p.m. |
Simon Willison's Weblog simonwillison.net
HTML Web Components: An Example
Jim Nielsen provides a clear example illustrating the idea of the recently coined "HTML Web Components" pattern. It's Web Components as progressive enhancement: in this example a <user-avatar> custom element wraps a regular image, then JavaScript defines a Web Component that enhances that image. If the JavaScript fails to load the image still displays.
Via Hacker News
avatar clear components element example html image javascript nielsen progressiveenhancement web webcomponents
More from simonwillison.net / Simon Willison's Weblog
AI counter app from my PyCon US keynote
1 day, 1 hour ago |
simonwillison.net
Understand errors and warnings better with Gemini
1 day, 19 hours ago |
simonwillison.net
PSF announces a new five year commitment from Fastly
2 days, 3 hours ago |
simonwillison.net
Programming mantras are proverbs
2 days, 5 hours ago |
simonwillison.net
Jobs in AI, ML, Big Data
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US