Im-unk / javascript-components-example

javascript components are pretty useful for coding once for the fixed HTML elements in different pages that you create!⚙

Repository from Github https://github.comIm-unk/javascript-components-exampleRepository from Github https://github.comIm-unk/javascript-components-example

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

About

javascript components are pretty useful for coding once for the fixed HTML elements in different pages that you create!⚙


Languages

Language:JavaScript 50.8%Language:CSS 25.7%Language:HTML 23.5%