To anyone who is in the position of anon, the task is simple, just spend time with them. Treat them like people, which is what they are, instead of something to be won or to be won over.
Mutual respect, common principles, and a spark is all that's really needed. Understand that while you may be interested, they might not be. Would you really want to be with someone who doesn't genuinely want to be with you? Probably not, so just keep going. You'll get that spark eventually and things will kick off. Until then, be a good person and treat everyone with respect.
The whole confidence game is a bit misleading too. Confidence comes from being proud of yourself, more than anything. If you're not proud of yourself, perhaps that's an area to improve. Do things that you'll be proud of, and become someone who is confident in the process. Understand that not everyone will be impressed by your achievements, and that's ok. It's not a competition.
Any person who will shame others for their interests probably aren't worth knowing.
If you have serious struggles with confidence and relationships, there's no shame in seeking help with the council of a friend or from a professional.
Be well.