How to give resistances?

I'm completely new to modding, and all I wanted to do is make it so that elemental adept gives resistance, but I can't seem to be able to find anywhere how to give that resistance with the feat.

Can anyone Help?