Get a JavaScript array with unique values
Get a JavaScript array with unique values

As I need to update an array in Firestore with duplicate-free values, let's summarise the methods I found and see how they perform.

Loop with async and await in JavaScript
Loop with async and await in JavaScript

Well, just got some problems in JavaScript loop with http request inside. Take a short note showing how to deal with it which got ideas from the po...

Fetch lyric from QQ music using Ajax, with simple example
Fetch lyric from QQ music using Ajax, with simple example

Get lyric for music can be easily done by several 3rd-party services. Especially in Foobar, the ESLyric component makes it easy to auto-fetch .lrc ...

Contact form for a static site without a backend
Contact form for a static site without a backend

For a static site like those on GitHub Pages, everything is done in the frontend. The user just downloads a bunch of static files that execute in t...

Bootstrap cards for showing colors
Bootstrap cards for showing colors

A few days ago, I built a website for showing traditional Chinese colors with bootstrap cards. Several issues I encountered during this process, ju...