In this tutorial, we shall learn about a different approach of making posts archive in a WordPress site. Instead of the default WordPress loop or
WP_Query(), we will be using WordPress REST API and jQuery Ajax. Here's the codepen that we shall try to achieve.
You can find the full tutorial here - WordPress posts archive with REST API and ajax.