New (essentially) to coding, and would like some pointers

Like three years back I had tried to get into C++ and lost motivation in about a month(. I was using SoloLearn, and am now planning on taking something for Java next year, and am currently taking an html5 course. Any pointers, other than just using SoloLearn in conjunction with my classes? Looking for something free to use, on a Chromebook (basically, browser based).