
The title of this article is one of those questions that some people are too afraid to ask because it sounds like something that they should already know, but the truth is that we are all at a different stage of learning and understanding how does a website work is an extremely important part of learning to develop them.
By the end of this article you should be able to understand the core truths of a website that will help you understand where should what go into.
The thing that you must understand is the concept of client and server.

Client
The client is whatever piece of software used to access a website. Most commonly web browsers.
The client’s job when it comes to a website is to take what you, the user asks for, convert it into a request that can be understood by the server and send it over to said server. Once the server responds, if you are using a web browser as a client, then the web browser will take whatever the server sent back and try to convert it into a website.
To give an example, when you visit easysoftwaredeveloper.com, your browser asks our servers to give them an answer, our servers will send back and HTML file, some CSS files, some JavaScript files and images. Your browser will take all that information and put it together on the layout that you see right now.
This is probably a good time to talk about what the server does, since I’ve already mentioned it quite a bit.
Server
The server is responsible for keeping all of a website’s files and it’s also the place where heavy computation can take place, database access, etc.
This server usually has a software that allows it to handle requests from clients like a browser, understand those requests and send back the correct files back to the client.
I could go on longer than this and dive deeper into the technologies involved in each of those sides, but for now I believe that this is the core concept that you must know.
A server is a computer that has special software to handle requests sent by a client. The client is responsible for displaying those responses to the user.
I hope this quick post simplified things for you. Stay tuned for more web development content.
Thanks for reading 😀