all AI news
Web Component
June 17, 2023, 7:41 p.m. | Danny Engelman
DEV Community dev.to
In his blog-post Pride Flags Josh Comeau does an excellent job creating an animated pride flag.
- He creates good HTML
- He adds cool CSS gradients
- He writes native JavaScript
- And then, to put the Pride Flag in the DOM,
he spoils it all with the line:
He was just three lines from creating a native JavaScript Web Component <pride-flag>
that would run in every Framework, in every modern browser, without! ANY dependencies
customElements.define("pride-flag", …
animated blog css dom good html javascript job line pride react web webcomponents
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Founding AI Engineer, Agents
@ Occam AI | New York
AI Engineer Intern, Agents
@ Occam AI | US
AI Research Scientist
@ Vara | Berlin, Germany and Remote
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
DevOps Engineer (Data Team)
@ Reward Gateway | Sofia/Plovdiv