MonoBehavior Error

Hello there,
Recently I have gotten back into Script Development, and have reinstalled Unity. But hindering my experience has been an error when creating scripts. When I create a new C# Script, it gives an error saying that there is no MonoBehavior in script file. Due to this, I Cannot put these scripts on any player objects, which means that the development cannot be continued because of not being able to test the game. If anyone has any info on how to fix this, please let me know!

Sounds rough! Without seeing code there’s nothing anyone here can do.

The Code i have been working on has the same file name as is posted in this

And the view from what im seeing in unity