You know that $28 was spent on the card already, so subtract that from the total:
450-28=422
There is $422 on the card. If each barrette costs $2.95, you can divide the money left on the card by how much the barrettes cost:
422/2.95=143.05
You can by 143 barrettes without going over the limit.