My food blog's home page shows my three newest recipes, and I built each card by hand.
So every Sunday, after publishing a recipe, I had to copy a card, change the photo, the title and the link, and delete the oldest one.
The week I forgot, the home page showed old recipes. A query loop fixes that for good.
What you'll learn
How to turn one card into a query loop with a single switch
How to show only one category, and only the three newest posts
Why every card shows the same title at first, and how dynamic data fixes it
How to fill each card's photo, title, link and description
What happens when you publish a new post, with nobody touching the page
The mistake that stacks your cards in one column, and the rule that avoids it