Input suggestions using datalist

Suggestions for an input are very useful to improve UX of forms. A lot of developers use a complex code of JavaScript to achieve it. Fortunately, HTML supports it natively. I guess, many developers (including me) don't know or forgot it. Please have a look on my code to see how to add suggestions easily.

read more

How to show file details before uploading its

Showing a preview of an image before uploading is the really cool feature which improves UX. In this article, I want to share with the code which shows all file details before uploading. My code is created in Vue, but I think reading of it should be enough easy for everyone who knows basic JS.

read more

refs in Vue 3

When I migrated from Vue 2 to Vue 3, one thing was annoying - how to get access to a DOM element in Composition API? In Vue 2, it was easy, you just needed to use the this.$refs object. How to do it in Vue 3?

read more