1 00:00:00,630 --> 00:00:01,280 Welcome back. 2 00:00:02,260 --> 00:00:06,130 JavaScript was created in 1995 by the Netscape Web browser. 3 00:00:06,520 --> 00:00:07,420 Right over here. 4 00:00:08,680 --> 00:00:16,780 It was a way for them to be able to add actions to websites, think of JavaScript as the verb in anything 5 00:00:16,780 --> 00:00:23,750 you do on a website, you tweet, you play a YouTube video, you sign up for a username. 6 00:00:24,580 --> 00:00:31,120 These are all actions we take on websites made possible through JavaScript in nineteen ninety five. 7 00:00:31,120 --> 00:00:36,910 It was a way for this browser, Netscape, to beat the competition, which were other browsers at the 8 00:00:36,910 --> 00:00:40,360 time, because at the time Netscape was the most popular. 9 00:00:40,840 --> 00:00:45,670 Other browsers started adopting their own version of JavaScript so that websites will work on their 10 00:00:45,670 --> 00:00:50,350 browsers as well, and thus less people switch over to their browsers. 11 00:00:51,370 --> 00:00:53,020 Can you guess what happened next? 12 00:00:53,500 --> 00:00:59,770 Well, every browser had their own idea of what JavaScript was, so there was no standard. 13 00:01:00,160 --> 00:01:06,520 Eventually, a standard had to be created to make sure that everyone had the same idea of what JavaScript 14 00:01:06,520 --> 00:01:06,940 was. 15 00:01:08,270 --> 00:01:15,440 So that Web developers can build one website and have it work on all browsers, the standard was called 16 00:01:15,440 --> 00:01:16,240 ECMAScript. 17 00:01:16,250 --> 00:01:22,580 So yes, JavaScript and ECMAScript can be used interchangeably and you will hear both of these a lot. 18 00:01:23,300 --> 00:01:24,800 But it's the same language. 19 00:01:26,120 --> 00:01:32,660 Now, this browser compatibility issue, browsers having their own teams, their own schedule and their 20 00:01:32,660 --> 00:01:34,610 own code, sound familiar? 21 00:01:35,730 --> 00:01:42,960 Yep, if you remember, it's the same thing that happened with HTML and success, it's the same issue 22 00:01:42,960 --> 00:01:45,290 that we keep having over and over. 23 00:01:45,810 --> 00:01:50,190 We covered this topic in web developer Fundamental Part two, you see. 24 00:01:51,170 --> 00:01:52,550 It's always a big problem. 25 00:01:53,730 --> 00:02:01,440 Make sure that all browsers have the same understanding of what our real e-mail counts and JavaScript 26 00:02:01,440 --> 00:02:01,920 should be. 27 00:02:02,910 --> 00:02:09,090 So that when we send each one of those files, we don't have to write one specific for each browser. 28 00:02:10,270 --> 00:02:17,740 And just like e-mail access, JavaScript is evolving, so there are new things that we can do now that 29 00:02:17,740 --> 00:02:20,200 you weren't able to do in 1995 with JavaScript. 30 00:02:21,330 --> 00:02:27,000 In the ESX video section, later on in the course, we will talk about these new features. 31 00:02:27,030 --> 00:02:27,720 So don't worry. 32 00:02:28,890 --> 00:02:33,420 Now, let's take a look at what JavaScript does again, open up the browser. 33 00:02:35,170 --> 00:02:36,890 And I have Udemy over here. 34 00:02:37,600 --> 00:02:43,780 Well, Udemy uses a lot of JavaScript, I mean, clicking on a course, adding it to cart. 35 00:02:45,310 --> 00:02:48,470 Liking a post all these things. 36 00:02:48,520 --> 00:02:48,940 Well. 37 00:02:50,240 --> 00:02:55,880 They're all JavaScript, even if you open categories over here, you see this dropdown and I can select 38 00:02:55,880 --> 00:03:01,610 things and there's actions constantly happening throughout the website, that's all JavaScript. 39 00:03:03,900 --> 00:03:07,650 It's not just the Web, they can use JavaScript on Instagram. 40 00:03:07,770 --> 00:03:10,410 Well, Instagram uses JavaScript. 41 00:03:11,750 --> 00:03:13,730 What about something else, maybe? 42 00:03:14,960 --> 00:03:16,010 Virtual reality. 43 00:03:16,180 --> 00:03:23,480 Yeah, you can do that, too, you can do VR, VR games, VR apps with JavaScript. 44 00:03:24,590 --> 00:03:25,970 OK, that's that's pretty cool. 45 00:03:26,000 --> 00:03:27,290 What else can JavaScript do? 46 00:03:27,470 --> 00:03:35,420 Well, you can actually program drones with JavaScript and control them from your wee remote if you 47 00:03:35,420 --> 00:03:35,930 want to do. 48 00:03:37,290 --> 00:03:39,190 What about robotics? 49 00:03:39,210 --> 00:03:42,000 Yeah, this guy built a robot. 50 00:03:43,630 --> 00:03:44,620 That he can control. 51 00:03:45,750 --> 00:03:46,920 From his Web browser. 52 00:03:48,850 --> 00:03:49,630 How cool is that? 53 00:03:51,680 --> 00:03:58,520 Now, remember, no, James, we talked about this slide at the beginning of the course and how we're 54 00:03:58,520 --> 00:04:03,380 going to learn these topics, well, some of this is able to be done because of it. 55 00:04:03,830 --> 00:04:06,590 But no guess is pretty much JavaScript. 56 00:04:06,590 --> 00:04:07,520 It is JavaScript. 57 00:04:07,670 --> 00:04:11,870 So you learn JavaScript, you can pick up back and stuff very easily. 58 00:04:12,050 --> 00:04:15,310 And then no Jair section of this course will be a breeze. 59 00:04:15,320 --> 00:04:17,240 It's not a new language that you'll learn. 60 00:04:18,019 --> 00:04:20,779 So is express, so is react. 61 00:04:21,410 --> 00:04:23,990 So this is why JavaScript is so important. 62 00:04:24,140 --> 00:04:27,900 What we will learn here will take you very far and the rest of your career. 63 00:04:28,340 --> 00:04:31,850 This is one skill that really opens up a lot of possibilities. 64 00:04:33,480 --> 00:04:39,180 Here's the beauty of JavaScript, though, and any other programming languages, because what is JavaScript, 65 00:04:39,180 --> 00:04:39,570 really? 66 00:04:40,320 --> 00:04:40,800 It's. 67 00:04:41,870 --> 00:04:49,100 It's a file, a father you can write instructions to a computer in the example of a robot arm, all 68 00:04:49,100 --> 00:04:54,980 you had to do is write, if I press this button, move on to the right, if I press this button, move 69 00:04:54,980 --> 00:04:55,910 arm to the left. 70 00:04:56,890 --> 00:05:02,920 It all looks extremely complicated, but as you will see, no matter how complex a program, let's say 71 00:05:02,920 --> 00:05:08,740 an online game like World of Warcraft, well, everything is built one block at a time. 72 00:05:08,740 --> 00:05:10,690 One simple logic at a time. 73 00:05:11,950 --> 00:05:17,050 In the next section, we're going to start writing our first JavaScript in our first simple pieces of 74 00:05:17,050 --> 00:05:22,000 logic, don't let a fool you, though, although it may look simple, these are the building blocks 75 00:05:22,000 --> 00:05:25,990 that allow you to build big web apps like Facebook or Google. 76 00:05:27,150 --> 00:05:32,090 Exciting things are going to happen with your newfound power, so I'll see you in the next one.