template | thumbnail |
---|---|
true |
./thumbnail.png |
You'll see here how to make your own reusable HTML tags.
Like this button which comes already styled.
Nothing!
Much like any webpage, you can either open the index.html file in your favorite browser or use VSCode liveserver.
The inner workings of our custom component is in custom-button.js
, you'll find its structure and styling.
https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements
https://developers.google.com/web/fundamentals/web-components/customelements