A developer develops: s/he programs AND designs
A designer designs: s/he creates graphics and UI
A programmer programs: s/he codes whether that be for back-end or front-end
Most people are developers: they create graphics and UI as well as program.
Coding is a challenge, get used to it
Always remember to debug
Try the guess & check method
Break it down into simple steps