Just because someone doesn't have a large yard, does not mean that they can't grow vegetables and herbs.
All you'll need to get started is a few containers, plants, seeds, soil and a space outside where you'll receive at least 6 to 8 hours of sunshine daily.
Below I've listed some of the plants that grow well in a container;
These plants will require large pots.
Hot peppers
Tomatoes(Cherry tomatoes do very well growing in pots)
Cucumbers
Pole beans
These herbs and greens can be planted in smaller pots and window boxes
Rosemary
Basil
Parsley
Oregano
Thyme
Mint
Lemon balm
Fennel
dill
Lettuce
Arugula