JavaScript 101 /data

Datatypes

As we have learned, variables are a way of storing data using a programming language. You can save all sorts of data in these variables however, each with its own datatype. In most cases you don't have to tell the computer what type of data you're using, it figures it out for you. Let's have a look:

Let's talk a bit more about these so called 'collections' of data.

Naming conventions

Now that we've started naming things, it's important to follow certain conventionsConvention: habits, practices, and rules for naming things in code to make your code more readable and maintainable. Here are some globally accepted guidelines:

By following these conventions, you can make your code easier to understand for yourself and others who may read it in the future.

Quizzing time!

Assignments

Next: Common errors