Since I've started programming, I've learned that repetition is key. You should practice as much as you can and if you don't get it right the first time, just keep trying until you do! You can google everything and find an answer that will work.
Before you submit your work, you should always double check it to make sure that everything is type correctly.