Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 631 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 631 Bytes

Javascript Components example ⚙

this example demonstrates making HTML elements as Javascript Components. components helps you to code once and use it anytime and anywhere you want as a HTMl tag!
this type of script is a kind of modern javascript and it is supposed to be defined as module in script tag.
in this example i made my header and footer as a javascript component.
I can use them without copying them in any html page just with a signle tag!

Screenshot