Introduction In React, we often use SVG for icons or images. How do we use it efficiently? How do we add a number in the centre of a trolley icon?…
Author: Nguyen Vu Ngoc Tung
JavaScript Spread vs. Rest Operator
Introduction In modern JavaScript, the spread and rest operators are indispensable tools for simplifying array manipulation and function parameters. These operators provide elegant solutions for tasks like array expansion and…
How to ignore top rows in CSV or TSV files
Working with CSV or TSV files, we often ought to ignore the header row (aka. the column headers) before reading the rest of the file. To strip out the first…
How to stop YouTube showing related videos
Unfortunately, if you’re like a lot of people and embed YouTube videos on your website, you might have noticed random videos showing up when you pause or get to the end of the video. Sometimes these videos could be from your competitors.
A short interview about An Lac House
In this post, we want to present how to embed a YouTube video into your WordPress and keep it responsive. What we need is to add a few CSS attributes…
Move a subdirectory into a new git repository
Context In the real world, we may probably have a large Git repository where you want to move out some sub-directories into single Git repositories. Regarding the Git repository, we…
Create preview images for your web page displayed in Google search results
You might want to create a preview image for your web page which it will be displayed in Google search results. This image will help users in the sense of…