Help with OnTriggerEntered + Canvas UI

I want to turn on my text canvas that simply says “you win” when I enter a collider. This is the code that I currently have for it and it seems very simple, I’m not sure why it’s not working. I attached the canvas to the script as the gameobject, I have also tried OnCollisionEnter. Can you see any reason why this might not be working?

public class YouWin : MonoBehaviour {
public GameObject canvas;

void OnTriggerEnter (Collider Collider)

Be sure to mark the collider you want the player to enter as trigger.

Also decapitalize the seccond collider in the ontriggerenter arguments