Don’t steal someone else’s work but instead use it as a resource and credit them.
Don’t be afraid to ask for help from anyone as we are all at different levels and all have different knowledge of coding.
Try and try until you feel like you've done everything you could until you finally accept that your coding isn't working and that you'll need help.