but i tried codes from "Comments" section
Show us what code you tried. Don't expect us to go looking.
and when i check code it comes up error and not sure why
Perhaps you could ask somewhere. Like, maybe, I don't know, how about here on the forum? Post the error messages.