I’ve copied the the code but when I verify it it come up with the error message, it’s the same if I use the code in the examples, how can I get round this? I have copied the code exactly from the book!
I moved your topic to an appropriate forum category @metalmanic.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
Please do not use screenshots as replacemant of the code and error messages.
Read the forum rules and insert your code and error messages as text using the code tags.
I'd imagine that the source for these projects is available as cut-and-paste (actually copy-and-paste), so you shouldn't really be having simple transcription errors.
It is actually even more accessible than that. They are all available from the File > Examples > 10.StarterKit_BasicKit menu in Arduino IDE.
I already pointed this out to @metalmanicin another topic but they want to continue with the manual transcription from the Starter Kit book, which I think is reasonable.
"Paying more attention" is the #1 skill needed to code or engineer. The closer attention you pay, especially to the tiniest details (ex spelling & capitalization), makes a HUGE difference between success and failure, ease and frustration.
Welcome. You've learned.