Reusable HTML

Reusable HTML: Templates, Slots and Custom Elements.

Updated

  1. Templates, Slots and Custom Elements (Freelancer): Write a layout once with a template and named slots, give a card its own layout with declarative shadow DOM and no JavaScript, and use custom elements such as a star rating from a ready-made script.