How to OPTIMIZE Javascript code as a SHOPIFY DEVELOPER using Custom HTML Elements
Bosidev | Shopify Developer
0:00 / 0:00
How to OPTIMIZE Javascript code as a SHOPIFY DEVELOPER using Custom HTML Elements
2 656 просмотров · 1 год назад
Bosidev | Shopify Developer
3,41 тыс. подписчиков
2 656 просмотров · 1 год назад
👷 Create Cart Transform & Discount Functions - no Plus plan required (my Shopify app):
https://bit.ly/nerd-functions
--------------------
🚀 Take your Shopify developer skills to the next level:
https://bosidevacademy.com/products/s...
--------------------
✉️ Weekly Shopify dev newsletter:
https://bosidevacademy.com/pages/news...
--------------------
💬 Social Links:
X: https://x.com/bosidev
LinkedIn: / bastian-fritsch-2353271a2
Discord: / discord
--------------------
🔗 Video Links:
Shopify CLI Video: • How to use Shopify CLI to develop FASTER (...
--------------------
⏱️Timestamps
00:00 Intro
01:45 Understanding Javascript classes
03:24 The HTMLElement class
04:23 Creating custom HTML elements
10:19 Real life task: Cart Upsell
15:20 Outro
--------------------
Hey my Nerds!
In this video im going to show you how to create and use custom HTML elements in Javascript. First i will explain the concept of classes in Javascript. Then we will create a accordion tab as your first custom HTML element. I also show you with a real life example task how to apply custom HTML elements in your shopify theme code and therefore optimize the performance of your code!
If you have questions let me know!