How to fix infinite jump in Unity 3D?

I have the following code:

public float jumpHeight = 3f;  bool isGrounded;  void Update()     {     if(Input.GetButtonDown("Jump")) && isGrounded)     {         velocity.y = Mathf.Sprt(jumpHeight * -2f * gravity;     } }