How to OPTIMIZE Javascript code as a SHOPIFY DEVELOPER using Custom HTML Elements

Published: 04 May 2025
on channel: Bosidev | Shopify Developer
2,309
126

🚀 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:
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!


On this page of the site you can watch the video online How to OPTIMIZE Javascript code as a SHOPIFY DEVELOPER using Custom HTML Elements with a duration of hours minute second in good quality, which was uploaded by the user Bosidev | Shopify Developer 04 May 2025, share the link with friends and acquaintances, this video has already been watched 2,309 times on youtube and it was liked by 126 viewers. Enjoy your viewing!