im having trouble with my inventory slot script from Sykoo i need to fix error CS0535

]

void Update()
{

}
public void onpointerenter(PointerEventData eventData)
{
hoverd = true;
}
public void onpointerexit(PointerEventData eventData)
{
hoverd = false;
}
}

the full script is

using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;

public class slot : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
public bool hoverd;
private bool used;

private GameObject item;
private Texture itemicon;

void Start()
{

}

void Update()
{

}
public void onpointerenter(PointerEventData eventData)
{
hoverd = true;
}
public void onpointerexit(PointerEventData eventData)
{
hoverd = false;
}
}