No MonoBehaviour scripts in the file

I’m trying to do a Simple Puzzle that Alexander Zotov posted on youtube. but it gives this error and I don’t know how to solve it

the codes I saw had MonoBehaviour in blue. but mine doesn’t turn blue…

I started to program now. I had already done something in college, but honestly, I don’t remember anything.

7004480--828113--upload_2021-4-4_4-6-1.png

You need to name your script-file TouchRotate.cs so the filename matches the classname.

Thank you for your help. but you still have the same error.

is the first project I do on unity.