Latest updates and technical insights

When to use Function Declaration vs Function Expression in JavaScript?
This post is just a quick note from me for developers who sometimes forget about the two concepts: Function Declaration and Function Expression, so that every time they need to remember, they can come here to review instead of having to Google again ...

Embedding scripts in web pages made easy with Github and jsDelivr
Problem You want to add a feature to a webpage without having to modify the existing scripts on the page because it's too complicated to configure, change, and remove. You only need this feature for a certain period of time. If you have the same need...

Drag and Drop API keynotes
I created an example about Javascript Drag-n-Drop APIs at https://hta218.github.io/dnd-keynotes Below are some interesting key-notes I've learned about the APIs. Basic concepts A typical drag operation begins when a user selects a draggable elemen...

Does JavaScript Promise.all() run in parallel or sequential?
Let's say you have a list of async tasks (each return a Promise). ```js:promises.js showLineNumbers let promise1 = async function () { / ... / } let promise2 = async function () { / ... / } let promise3 = async function () { / ... / } What wou...
![[Part 2] Deploy and configure your website on Namecheap in the simplest way](/_next/image?url=%2Fkmstech-next.png&w=3840&q=75)
[Part 2] Deploy and configure your website on Namecheap in the simplest way
In the previous part, I guided you through buying and connecting your domain to hosting, and activating the SSL Certificate. In this part, I’ll show you how to push your code to the server and get your website live What’s on the server ? To understa...
![[Part 1] Deploy and configure your website on Namecheap in the simplest way](/_next/image?url=%2Fkmstech-next.png&w=3840&q=75)
[Part 1] Deploy and configure your website on Namecheap in the simplest way
I’ve always wanted to have my own personal site, but due to laziness lack of time, I only got to work on it recently while staying at home during the quarantine. In this post, I’ll guide you on how to set up and configure a domain and web hosting tha...