Why when I try placing a script on an object it says script class cannot be found

While I was learning to build an RPG I attempted to place my script on a sign post. In this process the program said that my “script class cannot be found. Make sure to check for compile errors and that the file name and class name match” I would love to know why so I can continue on learning how to script more in unity but so far this is making me mad.

Well… do your file name and class name match? What’s your classes name anyway? And what is your path to the file relative to the Asset folder?