Chillis are a pain. Sometimes they work, sometimes they don't.
salad crops are good starters and you can just throw them in a tray on a sunny window sill as well.
Wouldn't bother with onions as its cheaper to buy. Try leeks if you have some space instead (let some flower as well as they look pretty cool).
Enjoy and don't get discouraged by disasters. I've been doing it for 20 years and still manage to ruin something every year!