Don’t forget about Rosetta Code and Code Golf which often provide basic educational examples in programming. I must say though that many examples of Wolfram Language on Rosetta Code could be improved much which I hope will be handled by users on this great thread:
Rosetta Code Challenge & Wolfram Language
Folks there committed to new examples for now but I think it would be really awesome to post an improved code there too, for example due to new functionality or deeper language knowledge.