Joyce , you’re not coping, you’re just in the visual vs logic phase 😄
HTML/CSS = what you see
Java/Python = how things think
It feels hard because your brain is switching from design to logic. Totally normal. Stick with small programs and it’ll click.