Learning java script or coding is not an easy task. I'd recommend taking a course at a school but with technology at hand, you can easily find courses online for free that will teach you everything you need to know. Try codecademy.com. it's a very simple website that's very easy to follow. Good luck.