Welcome back.
JavaScript was created in 1995 by the Netscape Web browser.
Right over here.
It was a way for them to be able to add actions to websites, think of JavaScript as the verb in anything
you do on a website, you tweet, you play a YouTube video, you sign up for a username.
These are all actions we take on websites made possible through JavaScript in nineteen ninety five.
It was a way for this browser, Netscape, to beat the competition, which were other browsers at the
time, because at the time Netscape was the most popular.
Other browsers started adopting their own version of JavaScript so that websites will work on their
browsers as well, and thus less people switch over to their browsers.
Can you guess what happened next?
Well, every browser had their own idea of what JavaScript was, so there was no standard.
Eventually, a standard had to be created to make sure that everyone had the same idea of what JavaScript
was.
So that Web developers can build one website and have it work on all browsers, the standard was called
ECMAScript.
So yes, JavaScript and ECMAScript can be used interchangeably and you will hear both of these a lot.
But it's the same language.
Now, this browser compatibility issue, browsers having their own teams, their own schedule and their
own code, sound familiar?
Yep, if you remember, it's the same thing that happened with HTML and success, it's the same issue
that we keep having over and over.
We covered this topic in web developer Fundamental Part two, you see.
It's always a big problem.
Make sure that all browsers have the same understanding of what our real e-mail counts and JavaScript
should be.
So that when we send each one of those files, we don't have to write one specific for each browser.
And just like e-mail access, JavaScript is evolving, so there are new things that we can do now that
you weren't able to do in 1995 with JavaScript.
In the ESX video section, later on in the course, we will talk about these new features.
So don't worry.
Now, let's take a look at what JavaScript does again, open up the browser.
And I have Udemy over here.
Well, Udemy uses a lot of JavaScript, I mean, clicking on a course, adding it to cart.
Liking a post all these things.
Well.
They're all JavaScript, even if you open categories over here, you see this dropdown and I can select
things and there's actions constantly happening throughout the website, that's all JavaScript.
It's not just the Web, they can use JavaScript on Instagram.
Well, Instagram uses JavaScript.
What about something else, maybe?
Virtual reality.
Yeah, you can do that, too, you can do VR, VR games, VR apps with JavaScript.
OK, that's that's pretty cool.
What else can JavaScript do?
Well, you can actually program drones with JavaScript and control them from your wee remote if you
want to do.
What about robotics?
Yeah, this guy built a robot.
That he can control.
From his Web browser.
How cool is that?
Now, remember, no, James, we talked about this slide at the beginning of the course and how we're
going to learn these topics, well, some of this is able to be done because of it.
But no guess is pretty much JavaScript.
It is JavaScript.
So you learn JavaScript, you can pick up back and stuff very easily.
And then no Jair section of this course will be a breeze.
It's not a new language that you'll learn.
So is express, so is react.
So this is why JavaScript is so important.
What we will learn here will take you very far and the rest of your career.
This is one skill that really opens up a lot of possibilities.
Here's the beauty of JavaScript, though, and any other programming languages, because what is JavaScript,
really?
It's.
It's a file, a father you can write instructions to a computer in the example of a robot arm, all
you had to do is write, if I press this button, move on to the right, if I press this button, move
arm to the left.
It all looks extremely complicated, but as you will see, no matter how complex a program, let's say
an online game like World of Warcraft, well, everything is built one block at a time.
One simple logic at a time.
In the next section, we're going to start writing our first JavaScript in our first simple pieces of
logic, don't let a fool you, though, although it may look simple, these are the building blocks
that allow you to build big web apps like Facebook or Google.
Exciting things are going to happen with your newfound power, so I'll see you in the next one.