Paste "version" and "loader" parameters on click if possible, then it will make Modrinth choose the version and the loader on download automatically.
Choose desired version, then the loader you want for the resource (works for mods, resource packs, data packs, shaders, modpacks and plugins). After filtering content you may now open any link and on download version and the loader will be chosen automatically (if there were chosen at all).