problem: Can't add script bacause of class cannot be found

Name of Script; NewName

using UnityEngine;

public class NewName : MonoBehaviour
{
Animator animator;

// Start is called before the first frame update
private void Start()
{
    animator = GetComponent<Animator>();
}

// Update is called once per frame
private void FixedUpdate()
{

if (Input.GetKeyDown(KeyCode.Q))
{
animator.SetTrigger(“Attack1”);

}

if (Input.GetKeyDown(KeyCode.W))
{
animator.SetTrigger(“attack”);
}

if (Input.GetKeyDown(KeyCode.E))
{
animator.SetBool(“walk”, true);

}

if (Input.GetKeyUp(KeyCode.E))
{
animator.SetBool(“walk”, false);

}

}

}

that is not adding to the game object

how can i solve it?

if you are sure the name of the script is the exact same as the name of the class then is because the script wasnt compiled, edit any line and save and wait for unity to re-compile