wait...
but...
how...
does...
the...
internet...
like...
internet?

well. let's take this really really slowly.

pov: you want to visit a website

you open your browser and type in a URL, for example, https://www.iamhungry.com

browser pov: i need to find that website

the browser doesn't know where www.iamhungry.com lives, so it needs to look it up.

to do that, it asks a DNS (domain name server) (essentially it's like an internet phonebook) to translate the human-readable URL into something computers understand: an IP address.

the DNS server responds with an IP address, like 172.217.3.110 (which points to Google's server, for example)

browser pov: i will now send a request to the server

now that the browser knows the server’s address (the IP address), it sends a request to the server saying, "please give me the homepage of www.iamhungry.com."

this request is made using HTTP, (hypertext transfer protocol) a set of rules that allows browsers and servers to talk to each other. the browser is basically asking the sever that they want a specific page.

server pov: i will processes the request and send a response

the server receives the request and knows which page to send back (usually the index.html page, which is the homepage)

it sends an HTTP response back to your browser. this response contains the website’s HTML code (which describes the structure of the page, like text, headings, and links)

browser pov: receives the response and displays the page

the browser receives the HTML code from the server and starts reading it.

it then requests any additional files (like CSS, JavaScript, or images) mentioned in the HTML.