i keep getting (6,43): error CS1514: { expected and (6,43): error CS1513: } expected idk what to do

using System.Collections;

using System.Collections.Generic;

using UnityEngine;
public class PlayerControl : MonoBehaviour
public float speed;
public float jump = 20f;
private Rigidbody rb;
bool isGrounded = true;
float forward;
void Start()
{
rb = GetComponent();
}
void FixedUpdate()
{
float moveHorizontal = Input.GetAxis(“Horizontal”);
float moveVertical = Input.GetAxis(“Vertical”);
Vector3 movement = new Vector3(moveHorizontal, 0.0f, moveVertical);
rb.AddRelativeForce(movement * speed);
}
private void Update()
{
bool player_jump = Input.GetButtonDown(“Jump”);
if (player_jump && isGrounded)
{
rb.AddForce(Vector3.up * jump);
}
}
void OnCollisionEnter(Collision collision)
{
if (collision.gameObject.CompareTag(“Ground”))
{
isGrounded = true;
}
}

void OnCollisionExit(Collision collision)
{
if (collision.gameObject.CompareTag(“Ground”))
{
isGrounded = false;
}
}

also i am new to coding and the unity forums

nvm got it (with a different code that is)

Classes need brackets and the compiler told you that you were missing them.

What you had:

public class PlayerControl : MonoBehaviour

    //rest of code like void Start() and stuff
    //...

What you should have had:

public class PlayerControl : MonoBehaviour
{

    //rest of code like void Start() and stuff
    //...

}

Anatomy of a C# script

For reference, a freshly created C# script (right click in your Project window > Create > C# Script) looks like this:

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

public class NewBehaviourScript : MonoBehaviour
{

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

    // Update is called once per frame
    void Update()
    {
 
    }

}

.