error message

Hi, i'm new to arduino, just getting started and my first sketch has this error on it. Any ideas as to whats wrong here

I'm sure that that error message is text. Copy it and paste it here instead of attaching pictures.

Please post your code (and use code tags when doing so).

it wont let me paste the screenshot picture in. It only lets me add an attachment so i did that

Do you see at the right hand side that button in the orange bar? It will copy text to the clipboard.

And the solution to your problem is that C/C++ is case sensitive.

Arduino: 1.8.3 (Windows 8.1), Board: "Arduino/Genuino Uno"

C:\Users\Gary\Documents\Arduino\sketch_mar01a\sketch_mar01a.ino: In function 'void setup()':

sketch_mar01a:5: error: 'ledpin' was not declared in this scope

pinMode(ledpin, OUTPUT);

^

exit status 1
'ledpin' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

(deleted)

C is case sensitive. ledPin and ledpin are different.

"was not declared in this scope" means that you're using a variable, but haven't declared it (the declaration is where you specify the type of the variable, and optionally initialize it to some value). Either you forgot the declaration, you got the name wrong (either where it flags it up, or in the declaration - that's what happened here), or you put the declaration somewhere that's out of scope for where you're using it (which can happen as a result of brackets being screwed up, sometimes the error that the compiler finally chokes on is a "not declared in this scope" error - mismatched brackets tend to generate confusing error messages; use ctrl+T to autoformat the sketch making it easier to spot these messed up brackets)