Confidence goes so much further than you imagine. You don’t need to be tall and physically attractive, but you will figure that out. If you think of yourself as unattractive, so will others. I have a gnome-esque friend who embraced his geekiness, found a style that worked for him (outdoorsy/woodsman style) and since then has had plenty of romantic success. If you can have non-romantic relationships, you can also have romantic ones. You really think the only thing preventing them from becoming romantic is the thought ‘if only they were taller /more physically attractive’? You have things to offer, you just need to recognize that fact.
I got in trouble for doing homework at school. Because it was meant to be done at home.