need help with a error in the code

Godot 4.3

i am working on a rhythm game for godot for a project but i keep getting the same error while coding

Error 1: res://note_picker.gd:1 - Parse Error: Unexpected “Identifier” in class body.

Error 2: modules/gdscript/gdscript.cpp:2936 - Failed to load script “res://note_picker.gd” with error “Parse error”. (User)

This error means you are trying to run some code that isn’t allowed inside the class body, the class body is not a function like _ready or _process so it doesn’t run code, but it can create variables and functions.