Preheat your oven to 180°C/356°F.
Add your chopped onion along with fennel seeds and chilli flakes. Give it a good stir. Chop up your fennel, peppers and courgettes. Add to the pan and stir everything together.
Chop up your Halloumi and place each slice on top of the thick mixture. Sprinkle the remaining fennel seeds and chilli flakes over the top. Finish with a drizzle of olive oil. Place under the grill for 12 minutes until golden and bubbling. Tuck into this dish and enjoy!