w3schools.com has tutorials and reference information for all technologies related to web development. In addition to this you can click on 'Try it yourself' button under each code example to test the function with your own code or values in a web-based runtime environment.