Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Digital Literacy

In the client server model, the (client, server) makes a request to the (client, server) and the (client, serve

In the client server model, the____(client, server) makes a request to the___ (client, server) and the_________ (client, server) gives back the content to the_______ (client, server).

can someone give me a hint.

5 Answers

Hi Michael,

So, when you log into teamtreehouse.com, the client is your web browser and the server is Treehouse's server(s). You (your client) sends a request — that contains your username and password — to "log in" to Treehouse and then Treehouse (their server) sends a message back to your client (your web browser) containing some HTML that either says "yup, you're in" or "bummer. I don't know you." Or something like that. Let me know if that answered your question.

Hey Mikis, I am still getting it wrong.

Phong Somlith
Phong Somlith
5,675 Points

Taking Joy's example here...

When you pull up to a drive-thu, you (client) request an order, then your order goes through the kitchen (server) to be cooked. Once your meal has finished cooking, the kitchen (server) then delivers your order to you (client).

Hope this helps.

Hey phong, I am still getting it wrong.

Phong Somlith
Phong Somlith
5,675 Points

Hey Michael, I'm sure you have the correct answer, however, I do notice sometimes in the quiz section that even though you have the correct answer, sometimes you will receive "bummer" response. I'm assuming there's some kind of bug in the quiz section. Try retaking the quiz again with your same answer, it should be corrected then (well, thats what work for me at least). Please let me know if this works for you.

Thank you very much Phong

Phong Somlith
Phong Somlith
5,675 Points

You're welcome Michael. Hopefully this helps you.

In the client server model, the (client) makes a request to the (server) and the (server) gives back the content to the (client).

Think of your client as your laptop, mobile phone, a smart watch, basically any device with a browser on it that connects to the internet. Your server is the bit that stores all of this data. HTTP ferries this data backward and forwards between the "client" and the "server".