PinnedFang Jin·Sep 10, 2025When do we apply a card flipping animation to your family album?Don’t we like small animations here and there, such as card flipping? It turns out you don’t need an animation library to support that…
PinnedInJavaScript in Plain EnglishbyFang Jin·Sep 16, 2022Find the Parent Element with CSSThe CSS ':has' adds a custom logic to find elements based on other selectors (instead of its own selector).A response icon1A response icon1
Fang Jin·Dec 7, 2025OAuth explained in simple words, part II have to work with Oauth lately, and interestingly I found it’s rare to find a person who carries the same dictionary as others when it…A response icon1A response icon1
Fang Jin·Oct 18, 2025Module federation for micro-frontend setup — part CIn part B of micro-frontend setup, we went through how to prefetch a remote page A after we land on a remote page B. So that when we are…
Fang Jin·Oct 11, 2025Module federation for micro-frontend setup — part BIn part A of micro-frontend setup, we went through how to use module federation to load a page content as a web resource in the runtime…
Fang Jin·Oct 6, 2025Module federation for micro-frontend setup — part AMicro-frontend setup has been a hot topic for a while, to be honest, every company does it differently. This requirement isn’t new, as far…
Fang Jin·Sep 16, 2025Read music sheet easily with the help of CSS stylesheetI started to play piano couple of month ago, but sometimes after I skip playing for a week or two, I tend to forget all the notes. Damn…
Fang Jin·Aug 26, 2025Phone input field with cursor placement in ReactLately I got an request for making a phone input which renders the format of (111)222-3333. I kinda of struggled slightly so want to…
Fang Jin·Aug 22, 2025CSS sticky position can be messy, why?Css has published sticky position quite a while ago, however I never understood how to use it effectively, especially on when it’s working…
Fang Jin·Aug 13, 2025useActionState hook to handle form actionI have used multiple different ways to handle the form submission in the past. But lately I have studied useActionState hook and applied…