Good job!
HTML first. CSS second. JS third. ;)
JavaScript is a tool. The other two are so fundamental, that they should be the leaders - with JS doing it's magic after the fact that they have already done theirs.
When it comes down to it, "scope" goes way deeper than functionality. It's understanding what goes where, and why certain things shouldn't try to take center stage when it's not their turn to sing. ;)