Hey kiddo, let me tell you about declarative programming.
Do you know how we tell someone what to do? It's usually by giving them a set of specific instructions. But in declarative programming it's different.
In declarative programming, instead of giving specific instructions, we just tell the computer what we want to happen or what we want to find out. We declare what we want.
Let's say you want to make some cookies. In normal programming, you'd have to tell the computer each step: "mix the flour with the sugar, add eggs, add milk, bake in the oven" and so on.
But in declarative programming, you'd simply say: "I want cookies." The computer would then figure it out based on the ingredients you have available.
This style of programming is called "declarative" because we declare what we want, rather than giving specific instructions on how to do it.
It's a handy way of programming because it allows us to focus on the end result, rather than spending too much time figuring out the nitty gritty details.