Hi! This is the final week of the course! And this time we will look at what the future holds by presenting you the Web components.
This is a set of specifications that will allow you for the creation of reusable components and widgets in your Web documents and in your Web applications.
Today, if you’re looking for an enhanced calendar or an enhanced video player, or component that will vocalize what you type for example, you need to include lots of JavaScript and CSS.
You need to look for some code written by somebody on the Web and read documentation, and reusing it is rather complex.
With Web components, it's as easy as importing in an HTML5 another HTML5, that defines all the plumbery for creating the new components.
And it also defines custom elements.
For example, you import a super-calendar in HTML5 in your document and then you just use « ⬅ « mysupercalendar » ➡ ».
It’s just a custom HTML element and hop! As easy at it sounds, you've got a custom calendar in your document.
The goal of Web components is to reduce complexity by isolating a related group of HTML, CSS, and JavaScript in an HTML5 you import to perform a common function within the context of a single page.
As such, Web Components are nicer, cleaner, and easier to use than, for example, jQuery plugins that are really popular today.
In this week, you will learn how to use existing components and how to write your own components.
Finally, I would like to thank you all for sharing your creations in the forum.
It has always been a great pleasure to try them, and also interacting with the students is really what makes me happy.
I hope you enjoyed the course and see you maybe for a next one on W3Cx.
Bye-bye!