JavaScript Beginner Tutorial
As with the HTML Beginner Tutorial and CSS Beginner Tutorial, the JavaScript Beginner Tutorial assumes that you know zip all about JavaScript. The purpose of this guide is to teach the bare essentials — just enough to get started. The JavaScript Intermediate Tutorial and JavaScript Advanced Tutorial go into more depth.
This tutorial is an introduction to programming in general, through the medium of JavaScript. We’ll get into interacting with web pages in the Intermediate section.
Contents
- Making Stuff Happen: Applying JavaScript and using the console.
- Variables and Data: How to create variables and how you use them. Strings!
- Doing Math: Using variables to store and use numbers.
- Logic: True and false.
- Conditional: If and but… no, or else… oh no I’m confused now.
- Looping: While do for while do for while do for… argumentum ad nauseam.
- Functions: Creating functions, using them, passing data in and out.
- Objects: Properties, methods. Inspecting objects.
- Arrays: Getting elements out, putting them back in. How long is a piece of string?