Modern tooltips
This is a quick article to share this demo I just made. https://codepen.io/lekoalabe/pen/JoPNWpX

Search for a command to run...
Articles tagged with #javascript
This is a quick article to share this demo I just made. https://codepen.io/lekoalabe/pen/JoPNWpX

Modals are typical UI elements for many web apps. There are countless packages dedicated to that specific features, each framework creating its own variation. Popular frameworks like Bootstrap also have custom code to deal with it. But all this feels...

According to this SO post, well... no. What if there was a way to do it anyway ? Nesting form is not allowed If you try to do this: <form action="/main"> <input type="text" name="main_field"> <form action="/sub"> <input type="text" na...

Each time I see an article (like this one) about typescript, they never quite seem to mention jsdocs. Therefore, it always feels like an unfair, one-sided comparison. Let's dive in some of the typical examples. Type safety This is probably the bigges...

Let's take this article about toaster and this article about custom elements and merge them together to create a new article about toast notification as custom elements. I recently published pop-notify a custom element that is framework agnostic, ful...

If you don't know what the Sanitizer API is, I highly recommend reading this article. So, that's all well and good... but that's only supported in Chrome, so that's going to be a problem. Using a polyfill ? The obvious solution is to use a polyfill, ...
