Рет қаралды 12,347
View the SOURCE CODE:
codepen.io/dcode-software/pen...
In today's video I'll show you how easy it is to build a web component (using custom elements) in JavaScript. This doesn't require any library or framework such as Vue, React or Angular - it's all done using pure JavaScript.
We explore the concept of shadow DOM, getters and setters, as well as passing through CSS styles using variables.
🏫 My Udemy Courses - www.udemy.com/user/domenic-co...
🎨 Download my VS Code theme - marketplace.visualstudio.com/...
💜 Join my Discord Server - / discord
🐦 Find me on Twitter - / dcodeyt
💸 Support me on Patreon - / dcode
📰 Follow me on DEV Community - dev.to/dcodeyt
📹 Join this channel to get access to perks - / @dcode-software
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #javascript