When you're just starting out, you won't know how to do everything. It will be confusing! That's good and necessary! Lean in to the discomfort. You'll figure it out.
You really don't have to memorize everything! It's perfectly okay to use your resources — I promise it isn't cheating. You'll memorize more the more you code!
Getting frustrated that your code isn't working like you want it to? Take a quick mental break and come back to it refreshed! It helps to see the code with fresh eyes.