Phuoc Nguyen

Phuoc Nguyen @phuocng

About: Created https://formvalidation.io ∙ https://blur.page ∙ https://react-pdf-viewer.dev Care about front-end, #react, #sveltejs, #typescript, #Swift, #macOS

Joined:
Oct 30, 2019

Phuoc Nguyen
articles - 113 total

Lazy load a Google Map

Google Maps is a powerful tool to add interactive maps to your website. However, embedding a Google...

Learn More 3 0Apr 8 '24

Lazy load a video

Lazy loading is an awesome technique that delays the loading of non-essential resources, such as...

Learn More 5 0Apr 5 '24

Lazy load an iframe

In our previous posts, we learned how to use the Intersection Observer API to lazy load images and...

Learn More 10 0Apr 4 '24

Lazy load a background image

There are times when using a background image is a better option than using an img tag. For instance,...

Learn More 7 0Apr 3 '24

Lazy load an image

Lazy loading images is a smart way to improve website performance. It's a technique that defers the...

Learn More 5 1Apr 2 '24

Create a reusable component for IntersectionObserver

In our previous post, we learned how to create a custom hook that simplifies the IntersectionObserver...

Learn More 2 0Apr 1 '24

Create a reusable hook for IntersectionObserver

In our previous post, we learned how to use the useEffect hook to integrate IntersectionObserver with...

Learn More 2 0Mar 29 '24

Use the IntersectionObserver API in React

In our previous post, we covered the basics of the IntersectionObserver API, including its syntax and...

Learn More 3 0Mar 28 '24

An introduction to the IntersectionObserver API

In our previous post, we discussed a few ways to check if an element is visible. We checked if it was...

Learn More 1 0Mar 27 '24

Check if an element is visible in the viewport

Knowing how to check if an element is visible in the viewport is incredibly useful in web...

Learn More 2 3Mar 26 '24

Practical examples of using IntersectionObserver with React

Are you tired of endlessly scrolling through content only to find that the images and videos you...

Learn More 1 0Mar 23 '24

Clipboard API fallback

In our previous post, we learned how to use feature detection to check if the Clipboard API is...

Learn More 0 0Mar 21 '24

Check if the Clipboard API is supported

If you're creating a web application that relies on the Clipboard API, it's crucial to determine...

Learn More 0 0Mar 20 '24

How to read and write data to the clipboard

In modern web development, having a website or application that can interact with the user's system...

Learn More 2 4Mar 19 '24

Align items in a grid

Here's what we'll cover: Learn how to vertically align items using the align-self property ...

Learn More 1 0Mar 18 '24

Center align the main content and left align the sidebar

Here's what we'll cover: Define specific areas within a grid using the grid-template-areas...

Learn More 1 0Mar 16 '24

Display grid items in the same area

Here's what we'll cover: Discover how to layer grid items using the grid-area property. In...

Learn More 2 0Mar 14 '24

Create a holy grail layout

Here's what we'll cover: Learn how to use negative numbers with the grid-column property. Use...

Learn More 3 0Mar 13 '24

Create a vertical timeline

Here's what we'll cover: Discover how to position an item precisely using the grid-column...

Learn More 4 0Mar 12 '24

Create an event calendar

Here's what we'll cover: Learn how to define the number and size of columns and rows using the...

Learn More 10 0Mar 11 '24

Create a Gantt chart

Here's what we'll cover: Learn how to create a grid with cells of varying widths using the...

Learn More 2 0Mar 8 '24

Create a macOS calculator layout

Here's what we'll cover: Learn how to adjust the placement of a grid item using the grid-column...

Learn More 2 0Mar 7 '24

Remove empty cells from the calendar

In our previous post, we learned how to use CSS grid to create a calendar. Now, let's take a closer...

Learn More 1 0Mar 6 '24

Position items in a grid

Here's what we'll cover: Learn how to use the grid-row-start and grid-row-end properties ...

Learn More 2 0Mar 5 '24

Build a calendar

Here's what we'll cover: How to use the repeat function to create equal widths within a grid...

Learn More 2 0Mar 4 '24

Create a sticky footer

Here's what we'll cover: How to use the display: grid declaration to create a grid How to...

Learn More 0 0Mar 1 '24

Create a split-screen layout

Here's what we'll cover: How to use the display: grid declaration to create a grid How to...

Learn More 1 0Feb 29 '24

Create a horizontal divider with centered text

Here's what we'll cover: How to create a grid using the display: grid declaration How to define...

Learn More 1 0Feb 28 '24

Discover how to use CSS grid layout with real-life examples

CSS grid is an incredibly versatile tool that can help you create stunning and responsive web...

Learn More 1 0Feb 27 '24

Build a REST client

A REST client is an application that lets you interact with RESTful web services. It acts as a...

Learn More 1 0Feb 26 '24