1 00:00:00,000 --> 00:00:09,207 [MUSIC] 2 00:00:09,207 --> 00:00:14,071 JavaScript has built-in data types that describe the different types of values or 3 00:00:14,071 --> 00:00:17,270 data that you work with and store in variables. 4 00:00:17,270 --> 00:00:19,620 JavaScript treats each data type in a different way. 5 00:00:20,860 --> 00:00:23,600 In a previous course, you learned about strings. 6 00:00:23,600 --> 00:00:26,258 A string is a series of letters, numbers, and 7 00:00:26,258 --> 00:00:29,066 other characters enclosed in quotation marks. 8 00:00:29,066 --> 00:00:33,384 Strings are one of the most common data types you'll work with in JavaScript. 9 00:00:33,384 --> 00:00:35,449 You also worked with Booleans, 10 00:00:35,449 --> 00:00:40,048 a data type that represents one of two possible values, true or false. 11 00:00:40,048 --> 00:00:42,804 For example, did the user enter the correct password, 12 00:00:42,804 --> 00:00:44,630 the outcome is either true or false. 13 00:00:45,880 --> 00:00:49,710 This course is all about another really important data type you'll frequently 14 00:00:49,710 --> 00:00:54,450 encounter and work with in JavaScript, numbers or numeric data types. 15 00:00:54,450 --> 00:00:58,240 You use numbers for tasks involving counting or calculating. 16 00:00:58,240 --> 00:01:01,760 For example, determining the total cost of items in a shopping cart, 17 00:01:01,760 --> 00:01:04,240 adding points to a player's score in a game. 18 00:01:04,240 --> 00:01:08,110 Or keeping track of how many likes a blog post receives. 19 00:01:08,110 --> 00:01:11,680 I'm Guil, a developer and JavaScript instructor here at Treehouse. 20 00:01:11,680 --> 00:01:13,900 In this course, I'll teach you how to use numbers for 21 00:01:13,900 --> 00:01:16,940 all sorts of useful tasks in your JavaScript programs. 22 00:01:16,940 --> 00:01:21,430 Including doing basic and complex math, converting strings to numbers, 23 00:01:21,430 --> 00:01:25,520 even generating random numbers to add variety and surprise to your program. 24 00:01:25,520 --> 00:01:28,550 You're also going to get lots of opportunities to make what you're learning 25 00:01:28,550 --> 00:01:32,790 stick, with quizzes, code challenges, and practice exercises. 26 00:01:32,790 --> 00:01:35,720 To help you succeed, you should have completed the prerequisites for 27 00:01:35,720 --> 00:01:39,340 this course, where you learned the basics of the JavaScript language. 28 00:01:39,340 --> 00:01:43,360 Let's get started by first reviewing how numbers are represented in JavaScript.