1 00:00:00,180 --> 00:00:05,600 Javascript constants are values that are fixed for example in this script. 2 00:00:05,670 --> 00:00:13,960 We're adding two values 5 and 6 together and outputting the result in a paragraph with the I.D. math. 3 00:00:15,500 --> 00:00:23,480 The values that we're adding are fixed values 5 and 6 the value of these numbers is not dependent on 4 00:00:23,480 --> 00:00:24,990 any other factor. 5 00:00:25,340 --> 00:00:32,390 The 5 will always be 5 and the 6 will always be 6 unless we change them in the script. 6 00:00:34,340 --> 00:00:43,420 Let's preview this file to see the result in our web browser. 7 00:00:43,450 --> 00:00:45,790 Here we can see the Output result. 8 00:00:45,820 --> 00:00:46,330 Eleven 9 00:00:52,170 --> 00:01:00,680 constants can be in the form of numbers both whole and integer or strings strings are written within 10 00:01:00,680 --> 00:01:05,510 double or single quotes. 11 00:01:05,800 --> 00:01:16,420 We'll go ahead and change one of these values to a string. 12 00:01:16,490 --> 00:01:29,040 Now when we save the file and reload our web browser we can now see that my text is joined with the 13 00:01:29,040 --> 00:01:30,060 value 6.