I went through : freecodecamp [^]
It feels like code project, i mean the discussion etc are almost the same.
So why not join code project it self.
I would better suggest either W3Schools or may be tutorials Point to learn the basics.
You have a try it editor there, so you can very well practice as well.
I would then recommend going to such sites for advancing to the next level.