why i have error8803?

using UnityEngine;

public class movment : MonoBehaviour{
bool canJump;

// Start is called before the first frame update
void Start()
{
    
}

// Update is called once per frame
void Update()
{
    if (Input.GetKey("a"))
   {
    gameObject.transform.Translate(-1f * Time.deltaTime, 0, 0);

   }

if (Input.GetKey(“d”))
{
gameObject.transform.Translate(1f * Time.deltaTime, 0, 0);
}
}
ManageJump();
}
void ManageJump()
{
if(gameObject.transform.position.y <= 0)
{
canJump = true;
}

if(Input.GetKey("space") && canJump && gameObject.transform.position.y < 10)
{
    gameObject.transform.Translate(0, 50f * Time.deltaTime, 0);
}
else
{
    canJump = false;

    if(gameObject.transform.position.y > 0)
    {
        gameObject.transform.Translate(0, -50f * Time.deltaTime, 0);
    }
}

}

Your method called ManageJump needs to be defined within the “movment” class At the moment, it’s outside (i.e. it’s below the closing brace for “movment”).

When you get errors like this, it’s always worth googling cs8803 because I find that the Microsoft explanations of their error messages are generally very good, with examples of how the error can occur.

One last thing, classes should really be created with a capital letter and do check your spelling in case you’ve made a typo. Perhaps “Movement”???