This course is out of date and does not reflect our standards or industry best practices. We now recommend you take the Complete Intro to Web Development, v2 course.

Check out a free preview of the full Introduction to JavaScript and jQuery course:
The "Data Types and Variables" Lesson is part of the full, Introduction to JavaScript and jQuery course featured in this preview video. Here's what you'd learn in this lesson:

JavaScript primitives: Strings (quotes), Numbers, Booleans, Arrays and Objects...covers a few things to note about Arrays like: index starts at 0 (unlike nth-child in CSS which starts at 1), mixing types in arrays and nesting arrays JavaScript variables - making sure to declare them because of scoping issues

Get Unlimited Access Now