The name does not exist in the current context

So, I’m just trying out a line of code in a random position just to get a feel of it. But when I save I get this error:

Assets/Movement.cs(19,59): error CS0103: The name `movementSpeed' does not exist in the current context

Here’s my code:

using UnityEngine;
using System.Collections;

public class Movement : MonoBehaviour
{
    public float speed = 215f;

    private bool isLeft = false;


    void Update()
    {
        if (Input.GetMouseButtonDown(0))
        {
            if (isLeft == false)
            {
                transform.rotation = Quaternion.Euler(90, 45, 0);
                isLeft = true;
                transform.position += transform.forward * Time.deltaTime * movementSpeed;

            }
            else
            {
                transform.rotation = Quaternion.Euler(90, -45, 0);
                isLeft = false;

                
            }
        }
    }
}

Any help would be really appreciated!

It is just as the error states, you do not have a variable called movementSpeed anywhere in you script.

You do however have the variable speed which is probably what you intended.