Can I make a dynamic list within a dynamic item page that changes based on the dynamic item?

Question:
Can I make a dynamic list within a dynamic item page that changes based on the dynamic item?

Product:
Wix Editor/Student.. I’m not sure which i’m on right now

What are you trying to achieve:
I want to list a different sub category in a collection based on the dynamic item selected.

Example:
Dynamic list of Categories main menu:
Humans
Pets
Toys

Choose Pets
Links to a single dynamic list page that lists all of a second collections items with the category “Pets”
The second list includes a listing of all pets I’ve included in my secondary collection.

So I basically want to link from one dynamic list to another dynamic list based on the item chosen in the first list. The secondary pages themselves would be it. I would just list all items for each category and be done with it.

The url structure expected would just to each category with no sub items afterward.

domain/categories/[dynamic category humans]
domain/categories/[dynamic category pets]

How do I make the repeater that would appear on each category page show all the items from the correct category in my secondary collection?

What have you already tried:
Reading the forum, clicking buttons. Can’t find how to link to the second list properly.

Yes

This can be implemented in a few ways, but the simplest one would be using reference/multi-reference fields

Either add a reference field to your second collection, that field should reference records from the category collection.
Then add a dataset to the dynamic page, and add a filter to match the reference field to the current item

Or add a multi-reference field to your category collection, that field should reference records from the second collection.
Then add a dataset to the dynamic page, and add a filter to match the reference field as containing the dataset item