Custom Elements are a part of Web Components, and they help you wrap up functionality inside a custom HTML element — any name you can think of, say <banana-stand> or <hipster-blog-article> .

If you’d like a deep dive on Custom Elements, see my earlier article, or the myriad of resources on Google. But instead of a longer explanation…

Let’s learn by doing!

…and build an element that converts between temperature units. This will swap units that a user may not understand, with units that they will.