This topic is covered in the following lessons.
A Taste of JavaScript:
Learn to Code with JavaScript:
Server-Side Coding with JavaScript: