Web components are the future of web development, but what are they?
We can for example create an element called
Web components enable truly encapsulated and reusable components for the web. This means we can easily create widgets and other useful elements that can be easily shared, without having to retype or rework code. That is the beauty of web components.
Polymer is a library built on top of web components, making the development of web components easier. Polymer has a certain way of thinking how these web components are best used and created. First familiarise yourself with Polymer and its methodology.
Read up on Polymer on the Polymer Project website
Watch the introduction video by Matthew McNulty (link below)
Polymer Project: Polymer
Introduction to Polymer - The Next Generation of Web Development: Introduction Video
Use the information that you have gathered on the Polymer website and through watching the video to build your very own Polymer element and make the magic happen!
Use the Plunker link below and fork the posted code
Make your own Polymer element as shown in the example
Hit run to see what it looks like