jQuery .filter HREFF with ID

Hey i want to select HREF and ID:

I have


this select HREF but how do both?`

I have for ID something like:


How can select both include with .filter?


Only can be with + var + ?


Please share your code and the link to the exercise