Hello, I was a little bit excessive, but I'm very, very excited to start the course.
So in this section we're going to be talking about browsing the web.
It's the first part and how the Internet works section.
And some of you are thinking right now, whoa, whoa, whoa, Anjali, come on.
I know how the Internet works.
Let's get to the heavy, heavy technical stuff.
But this is something that actually took me quite a few years to learn.
And I see a lot of people just skimming the surface of this stuff without fully understanding how everything
works together, without having those foundations.
Actually very, very difficult to think about performance, optimizing your site and so on and so on.
So we're going to start off very, very basic and we're going to learn something that it took me many
years to learn.
And once I figured this out, everything clicked.
So just hang in there.
Trust me.
I promise you you'll learn something new in this section.
And we're going to be talking about browsing the web.
We have over here a laptop and we have our browser, let's say, Google Chrome.
And we typically like to say go to Google and we're going to visit Google.
So we type in Google Docs comment.
Well, what happens technically when we do that?
When we enter Google dot com, we press enter on our keyboard, we ask a question, who's this Google
dot com fellow?
And that question gets asked all the way down to our ISP.
ISP is Internet service provider.
And I put a dollar sign up here.
Just so you know, those are the people that you pay so you can have Internet.
So if you're in the States, that's Kozhikode Verizon.
If you're in Canada, they'll be Bell or Rogers or, you know, depending on your country, you have
your big, big companies that make a lot of money from Internet usage.
So they get that request and they send that off to something called the DNS server.
So domain name servers and we'll get into that later on in the course.
So don't worry too much about it.
But essentially, it's a phone book, a phone book that has the lists of all these URLs like Google
dot com, and it has the addresses of them.
So exactly like a phone book, they know where Google dot com is.
So they say, hey, you know, I don't know Mr. Google dot com personally, but I do know his address.
So you should go check him up.
So they send off that request back through the ISP and the website or the Web browser.
Google Chrome in this case gets once every two to one seven seven twenty three where I call, but nothing
showing up yet.
There's no there's no Google dot com.
I can do any searches yet.
OK, we received what we call an IP address, so think of this as something that every single computer
has one, anything that's connected to the Internet has its own address.
So the laptop that I'm working on right now is an IP address.
Your laptop or computer has an IP address.
So this IP address allows the Internet to work, essentially it knows our location, our address.
So what we do now with Google dot com, we know the IP address, the browser sends off another request
to the Google servers and it knows where the Google servers are because.
Well, because we have this address.
So we go seek it out and you can think of servers as computers.
Essentially, my laptop could be a server.
Your computer could be a server.
Servers are essentially computers that are sometimes in basements or in huge server farms.
And they have a piece of software running that just like at a restaurant where a server brings you food,
it knows how to send you files when you request for them.
So we send this off and the Google servers say, oh, yeah, no problem, let me give you my e-mail
access and JavaScript and we'll get into what those are later on in the course.
But think of them as just text files.
There are text files that Google is going to send to the browser so we can have Google working.
So let me just minimize this and show you what it's doing.
So we're copying these files and Google servers saying, yeah, no problem.
Thanks for asking for Google.
Here it is.
And the Web browser receives the email access and JavaScript.
So if we go to the next section boom, we have Google dot com and everything's working.
Now that sounded like a whole bunch of stuff that happened in between.
And when we're on the Internet, everything is quite fast.
But yeah, underneath the hood, all of that is happening and it's crazy to think how fast everything
works.
Don't take my word for it.
Let's just check this process that I'm not just making stuff up for you.
If what we learned was correct, technically.
We can skip this process, right, I mean, if we know the address of Google, can we just, you know.
Go into this directly and just instead of putting Google dot com, just put in this in our search bar
and it automatically goes to the Google servers.
Well, let's try it out.
Let's let's open up Google here.
And what a pretty picture.
All right.
So we go to Google Dotcom.
Nothing crazy here, and that's great, but what if I instead of that, I put in the IP address, so
one seventy two, there's no way I could remember this address.
I've done this before and I press enter.
That Google icon.
So as you can see.
I'm not lying.
What's happening, the IP address gets sent to the Google servers, Google servers send us a few files
so that we can finally load Google back.
Com in the next section, we're going to do something fun.
We're going to break a bit of Google and toy around with the website again to show you how cool all
of this technology is.
See in the next one, Bhabhi.