Can I use a Steam gift card to buy games instead of giving Steam my credit card info?
Yes you can, all you have to do is click in the top right where it shows your username, then go to account details.
After, go to Add funds to your Steam wallet.
Then on the right, Redeem a Steam Wallet Code.
All you have to do now is enter your code and you should be fine.